[vorbis-dev] libao patch: Minor clean up / Byte-order proposal
Michael Smith
msmith at labyrinth.net.au
Sat Aug 12 22:54:15 PDT 2000
At 08:53 PM 8/12/00 -0700, you wrote:
>Here is a patch to fix the compiler warnings I mentioned earlier. I've
>removed the byte-order changes that don't make sense. (Thanks Michael for
>pointing out the error!)
>
>As for the byte-order changes, since some output modules don't have the
option
>to set the sample byte-order, I would like to standardize libao and ogg123 on
>native byte-order. Will this break the ao_wav.c patches you just submitted,
>Michael?
This will break the wav output (but not have any effect on the changes I
made recently - that was just a rewrite of the header code) - wav files are
little endian, always. Either the data should be sent little endian, or the
wav output should be changed to convert to little endian.
I'm not sure what the right way to go here is - have everything sent to
libao host-endian, then converted as needed? Or should we have the
application call a libao function to find out what endianness it should be
producing? There are probably other solutions that I haven't thought of.
Michael
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list