[vorbis-dev] encoding from 22050Hz source
Crock Real
integracrock at yahoo.com
Mon Apr 19 10:32:46 PDT 2004
Hi!
I'd like to encode from a 22050 Hz source wav file (only in that case),
but i get the following error message: "Invalid floating point operation"
I use delphi:
vorbis_encode_init_vbr(vi,2,22050,0.5)
.
.
.
While (i < readCount div 4) Do
Begin
buffer[0][i] := smallInt((pArray(@readbuffer)[i shl 2 + 1] shl 8) or pArray(@readbuffer)[i shl 2 + 0]) / 32768;
buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or pArray(@readbuffer)[i shl 2 + 2]) / 32768;
inc(i);
End
What could be wrong???
Thank you!
crc
---------------------------------
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
--- >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 at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list