Re: Audio Converter and Endians problem
Re: Audio Converter and Endians problem
- Subject: Re: Audio Converter and Endians problem
- From: David Duncan <email@hidden>
- Date: Mon, 27 Jan 2003 21:21:42 -0500
On Monday, January 27, 2003, at 07:25 PM, Richard Dobson wrote:
I didn't think an AIFF-C file could contain little-endian data, any
more than an AIFF file can. How on earth is this indicated? An AIFF-C
file, like AIFF, starts with the 4-byte tag <FORM>, followed by a
4-byte chunksize, followed then by the tag <AIFC> - and the FORM
chunksize must surely be big-endian in all cases, as that is what is
expected. It would seem to be impossible to define an AIFF-C file to
be either little or big-endian, to begin with!
The compression type will be 'sowt' ('twos' backward).
My document describing AIFF-C is admittedly somewhat elderly (vintage
1991); but I haven't seen one anywhere that is newer. That document
expressly describes all data as big-endian, everywhere. Any pointers
to more up to date specifications would be most welcome.
Try checking out the Carbon Sound.h header file, it has many of the
constants for AIFF compression schemes (I presume the Quicktime headers
have many of them too)
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.