[vorbis-dev] libao patch: Endian-ness fix
Michael Smith
msmith at labyrinth.net.au
Tue Aug 8 02:08:01 PDT 2000
>Kenneth already appears to have committed a byte order fix for the WAV output
>driver.
That was me, actually - I rewrote most of the wav writing code because it
was a) broken on x86 and other 32bit/LE systems, and b) much more broken on
everything else.
>Attached is a patch to fix byte order in the OSS and ALSA drivers. The
>other output drivers seem to just use the native byte order (which
libvorbisfile
>uses).
Nope. Vorbisfile returns data with the specified endianness - ogg123
requests it as little endian. The patch may or may not be wrong (I don't
know enough about how OSS (or ALSA) works to know) - but if it is correct
then a similar change is needed in ogg123 - otherwise it will definately be
broken.
>[Note: This patch also fixes some compiler warnings.]
Seperate these out, and I'll commit them for you.
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