[vorbis] [PATCH] aiff file reader

Giuliano Pochini pochini at shiny.it
Sun Jan 19 09:50:53 PST 2003



Sound samples in AIFF/AIFC files are big-endian by default.

<p>--- vorbis-tools/oggenc/audio.c.orig	Sun Jan 19 17:22:10 2003
+++ vorbis-tools/oggenc/audio.c	Sun Jan 19 17:44:56 2003
@@ -249,6 +249,7 @@
         format.totalframes = READ_U32_BE(buffer+2);
         format.samplesize = READ_U16_BE(buffer+6);
         format.rate = (int)read_IEEE80(buffer+8);
+	aiff->bigendian = 1;
 
         if(aifc)
         {

<p><p>Bye.

<p>--- >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-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 mailing list