[vorbis-dev] libao endian fix (attempt 2)
kcarnold at yahoo.com
kcarnold at yahoo.com
Sat Sep 2 14:11:00 PDT 2000
On Sat, Sep 02, 2000 at 05:09:20PM -0700, volsung at asu.edu wrote:
> 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
Applied locally; I am going to test it on the PowerMac in the basement. If it
works, you'll know. If it doesn't, there will be consequences...
Anybody else got swapped-endian machines to test this on? Of course, you could
consider that all x86 machines are swapped-endian, so we've already got this
well-covered.
Kenneth
PS - Thanks for the rdiff this time :)
--- >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 'vorbis-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 Vorbis-dev
mailing list