• 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
Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
      • From: William Stewart <email@hidden>
  • Prev by Date: should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0
  • Next by Date: Re: how to access HAL buffer timestamps when using AUHAL?
  • Previous by thread: should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0
  • Next by thread: Re: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
  • Index(es):
    • Date
    • Thread