• 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: Available codecs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Available codecs


  • Subject: Re: Available codecs
  • From: Anders Norlander <email@hidden>
  • Date: Thu, 24 Mar 2011 08:23:55 +0100

Read the format property kAudioFormatProperty_EncodeFormatIDs with AudioFormatGetProperty.
To check if a codec is support for a particular file format you should compare it to the results of kAudioFileGlobalInfo_AvailableFormatIDs.
Note there may be more restrictions for a codec and file format combination, like supported sample rates, bit rates etc.

-Anders

On 2011-03-24, at 1:58 , Ethan Funk wrote:

> How can I tell if a CoreAudio codec (via audio format  kAudioFormat constants) is supported under a particular OS X installation, other than calling AudioConverterNew and seeing if it fails with a format error.  It would be nice to be able to generate a list of available formats to present to the user prior trying a format and having it fail.
>
> Thanks,
> Ethan... _______________________________________________
> 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:
    • 'aach' available but fails with format error
      • From: Ethan Funk <email@hidden>
References: 
 >Available codecs (From: Ethan Funk <email@hidden>)

  • Prev by Date: Available codecs
  • Next by Date: iOS app performance degraded on iOS 4.3?
  • Previous by thread: Available codecs
  • Next by thread: 'aach' available but fails with format error
  • Index(es):
    • Date
    • Thread