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

Re: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS


  • Subject: Re: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
  • From: William Stewart <email@hidden>
  • Date: Mon, 27 Jul 2009 11:40:17 -0700

you would have to check available encoders - this is an AudioFormat call and it tells you what encoders are available for your use (and with iphone you have the extra notion of hardware v software versions to deal with - see AudioFormat.h for some details about this)

On Jul 24, 2009, at 9:43 AM, Evan Olcott wrote:

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

_______________________________________________ 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: Evan Olcott <email@hidden>
References: 
 >Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS (From: Evan Olcott <email@hidden>)

  • Prev by Date: Re: how to access HAL buffer timestamps when using AUHAL?
  • Next by Date: Re: how to access HAL buffer timestamps when using AUHAL?
  • Previous by thread: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
  • Next by thread: Re: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
  • Index(es):
    • Date
    • Thread