[vorbis] [PATCH] aiff file reader

Michael Smith msmith at xiph.org
Sun Jan 19 15:04:07 PST 2003



On Monday 20 January 2003 04:50, Giuliano Pochini wrote:
> Sound samples in AIFF/AIFC files are big-endian by default.
>
>
> --- 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)
>  	{
>
>
>
> Bye.

<p>Thanks for the patch, committed.
Obviously, not many people have been using AIFF input...

Mike

--- >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