Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
- Subject: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
- From: Evan Olcott <email@hidden>
- Date: Fri, 24 Jul 2009 11:43:36 -0500
Getting a 'fmt?' error when trying to encode AAC in an M4A file on the
ExtAudioFileCreateWithURL call on the iPhone device.
Checking the list of kAudioFileGlobalInfo_AvailableFormatIDs for
kAudioFileM4AType via AudioFileGetGlobalInfo lists 'alac', 'aach' and
'aac ' as available. Checking kAudioFileGlobalInfo_WritableTypes
through the same call also lists 'm4af' as one of the types it supports.
So through the API, it seems like it's "available", but... if I am
reading it correctly, there is no way to identify whether a certain
FORMAT is readable or writable within a FILE TYPE. What is needed is a
kAudioFileGlobalInfo_WritableFormats property?
Is this the situation here, that AAC writing is not available on the
iPhone device, but that there is no way to discover this via the API?
In either case, where can I find a list of file types and formats that
the iPhone OS can read and write?
Ev
Senior Software Developer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
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