In beta 3 (Windows, libvorbis-1.0beta3.zip, compiled using BCB), I get a runtime overflow on line 322 when encoding a simple pure tone (44100Hz, 96kbps, 128kbps, or 160kbps). Changing the float to a double avoids the problem. float val=decay[i]*decscale; float att=fabs(f[i]/val); /// floating point overflow ... Chris http://www.goldwave.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Chris Craig wrote:> > In beta 3 (Windows, libvorbis-1.0beta3.zip, compiled using BCB), I get > a runtime overflow on line 322 when encoding a simple pure tone > (44100Hz, 96kbps, 128kbps, or 160kbps). Changing the float to a double > avoids the problem. > > float val=decay[i]*decscale; > float att=fabs(f[i]/val); /// floating point overflow > ...That code is completely changed in beta4 (beta4 hasn't actually been released, but the code is very close to how it'll be at release.). Could you test this again with current cvs? Michael, who is bored, waiting for a compile, yet again. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wed, Jan 31, 2001 at 01:27:34AM -0330, Chris Craig wrote:> > In beta 3 (Windows, libvorbis-1.0beta3.zip, compiled using BCB), I get > a runtime overflow on line 322 when encoding a simple pure tone > (44100Hz, 96kbps, 128kbps, or 160kbps). Changing the float to a double > avoids the problem. > > float val=decay[i]*decscale; > float att=fabs(f[i]/val); /// floating point overflowThat code is gone. I do appreciate the bug report though! Monty --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.