Re: problems compiling SDK PublicUtility classes
Re: problems compiling SDK PublicUtility classes
- Subject: Re: problems compiling SDK PublicUtility classes
- From: William Stewart <email@hidden>
- Date: Thu, 3 Feb 2005 12:01:54 -0800
Yes - we hope to have a fixed SDK out in the next couple of weeks -
apologies for the problems.
On 02/02/2005, at 10:02 PM, Miles Egan wrote:
As others have reported the CAAudioFile classes distributed in the SDK
do not currently compile on Panther with XCode 1.5. Is any fix for
this forthcoming? I'd prefer not to use them but since the
AudioConverter API documentation is currently pretty sparse it seems
easier than trying to write to the bare api. In the future I'd really
appreciate some sample code that doesn't rely on external classes
since walking around the inheritance heirarchy of CAAudioFile to
discover things like proper buffer memory management and ownership can
be frustrating to someone like myself trying to understand a new and
complex API.
Perhaps I should ask this before I try to go much further in my
current direction: the AudioConverter in Panther can decode mp3 and
aac files to raw PCM, right? I'm working on a simple little music
player and I'd like to fall back on CoreAudio for this but it's not
entirely clear from docs and searches on the list if I should expect
this to work currently.
aac = yes as in an ADTS file (this is an MPEG-2 defined bitstream).
But its not the converter's job to know about files. It knows about
data formats. The AudioFile API knows about files.
So, AudioConverter:
Can decode MP3
Can encode and decode AAC
With Panther
AudioFile
Can read and write MP1 bit streams (this includes the commonly referred
to mp3 files)
Can read and write ADTS files
Can NOT read or write m4a, movies, mp4 files
However, QT api's can do this and there's an example in the SDK of
using the QT APIs to read aac data from an m4a file
There's a session we did at WWDC (both 2004 and 2003) that went into
some detail about how the CoreAudio APIs handle these issues - I think
there are still DVDs available for these sessions on the developer web
site (developer.apple.com)
HTH
Bill
thanks,
miles
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden