• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Audio Converter and Endians problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Converter and Endians problem


  • Subject: Re: Audio Converter and Endians problem
  • From: john <email@hidden>
  • Date: Tue, 28 Jan 2003 20:15:10 +0000

Hi Mark,

So is that what the sowt or whatever it is represents? If so, that would be easy enough to add support for.

-- John


It used to be that you could download all of the headers from the Apple Developer Support web site, though they're going to be in StuffIt file or .smi disk image, so if you can't expand that, then it's not going to do you any good. Search around on the Apple Developer web site, the headers might still be there. They used to be in the MPW SDK, though I believe that MPW has given way to Project Builder, so you might just have to download that and see if you can expand it to get to the headers.

You can read an AIFF or AIFC file on a PC just as easily as a Mac can read a WAVE file (in fact, a WAVE file and an AIFF file look very similar).

An AIFF and AIFC file have all of its fields described with big endian values, but an AIFC file also describes a compressed data section. Once you get to the DATA section, you have to interpret it with the knowledge gained from parsing the format section of the AIFC. For purposes of making things simple, endian conversion is considered to be a compression, which is why it requires an AIFC file to contain it. In this case that means you parse the format to know that the data is little endian format, and then reading it as little endian data.

--
Mark Cookson
_______________________________________________
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.

References: 
 >Re: Audio Converter and Endians problem (From: Mark Cookson <email@hidden>)

  • Prev by Date: little typo in AUBase.h
  • Next by Date: Re: MusicPlayer?
  • Previous by thread: Re: Audio Converter and Endians problem
  • Next by thread: AIF Files (was Audio Converter and Endians problem)
  • Index(es):
    • Date
    • Thread