[vorbis-dev] libao endian fix (attempt 2)

volsung at asu.edu volsung at asu.edu
Sat Sep 2 17:09:20 PDT 2000


Okay, here's the patch that should fix byte-ordering madness.  The basic rule
with libao is that samples have to be in native byte order.  All of the
drivers will assume this, and libao provides a ao_is_big_endian() function for
library clients (and sometimes drivers) to test their byte ordering.  I would
appreciate it if someone on a big endian platform test ogg123 and make sure
that it works correctly with the oss, esd, alsa, and wav output drivers.

As before, please email me if you commit this patch to CVS.

Thanks.


---
Stan Seibert



<HR NOSHADE>
<UL>
<LI>TEXT/PLAIN attachment: endian-fix.patch
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: endian-fix.patch
Type: application/octet-stream
Size: 3777 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20000902/b5663913/endian-fix.obj


More information about the Vorbis-dev mailing list