changeset 514:6c4f29fc3d87

Ogg Vorbis files return samples in system byte order by default.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 28 Jul 2006 06:29:19 +0000
parents 006e3d6cd2fe
children 46d5f399cb35
files CHANGELOG decoders/ogg.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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 */