[Speex-dev] question about coding

John Miles jmiles at pop.net
Fri May 26 15:20:44 PDT 2006


True, it depends on where the "raw audio file" that he mentioned came from.
If it came from a .WAV ('WAVE'?), it's little-endian unless the converter
program explicitly flipped the byte order.

Either way, white noise with faint traces of the original content ==
mis-flipped bytes...

-- jm

> > >By convention, PCM samples are generally
> > >little-endian words,
>
> This is not right. Some file types are little endian (WAV for example)
> others are big endian (ie AIFF). There is hwoever also a big endian
> WAV variant (RIFX) and some AIFF files contain little endian data.
>
> libsndfile handles all the above variations correctly.
>
>



More information about the Speex-dev mailing list