# HG changeset patch # User Ryan C. Gordon # Date 1154068159 0 # Node ID 6c4f29fc3d877a4150bf3350d114491a3399650c # Parent 006e3d6cd2fef89a72748760c0cf6fdefa048e16 Ogg Vorbis files return samples in system byte order by default. diff -r 006e3d6cd2fe -r 6c4f29fc3d87 CHANGELOG --- a/CHANGELOG Fri May 12 14:43:27 2006 +0000 +++ b/CHANGELOG Fri Jul 28 06:29:19 2006 +0000 @@ -2,8 +2,9 @@ * CHANGELOG. */ -05122005 - Patched to get mpglib compiling again (thanks, Sam!). -03312005 - Wedged in a temporary hack for Speex rewinding. +07282006 - Ogg Vorbis decoding defaults to system byte order now. +05122006 - Patched to get mpglib compiling again (thanks, Sam!). +03312006 - Wedged in a temporary hack for Speex rewinding. 12172005 - Fixed gcc4 whining in playsound_simple.c. 12062005 - Trimmed a bunch of junk out of the build system, and now it works on Mac OS X again. diff -r 006e3d6cd2fe -r 6c4f29fc3d87 decoders/ogg.c --- a/decoders/ogg.c Fri May 12 14:43:27 2006 +0000 +++ b/decoders/ogg.c Fri Jul 28 06:29:19 2006 +0000 @@ -232,7 +232,7 @@ * OGG files are apparently commonly encoded in. */ sample->actual.format = (sample->desired.format == 0) ? - AUDIO_S16LSB : sample->desired.format; + AUDIO_S16SYS : sample->desired.format; return(1); } /* OGG_open */