[speex-dev] Decoding .spx with 1.0 on ppc produces noise!
kaveh at arkasoft.com
Wed Apr 16 14:48:17 PDT 2003
I had a similar question ... is the endian-ness of the encoded
speex file, system dependent? or is it always little endian? If it's
always little endian (like the header seems to be) then big endian
machines (or java) will need to map everything to bigendian before
thanks in advance,
<p>Ben Stanley wrote:
> I got my hands on the LCA 2003 CD today and I tried to listen to it on
> my powerbook running Linux. Instead of getting speech, I got an earfull
> of noise! Attempting the same experiment on an i386 with the same CD
> produced understandable speech.
> It seems that the output routine in speexdec converts the output data to
> little endian short format, which is incorrect on the ppc architecture.
> The data written to the sound device should be in native endian format
> (this may be different from what is required if the data is being
> written to a file). However, removing the endian conversion does not fix
> the problem, and speexdec continues to play noise.
> --- >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 'speex-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.
<p>--- >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 'speex-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 Speex-dev