• 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: CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more


  • Subject: Re: CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more
  • From: james mccartney <email@hidden>
  • Date: Mon, 6 Jul 2009 10:20:21 -0700


On Jul 4, 2009, at 3:33 PM, Mark's Studio wrote:

I am trying to get a filetype based on audio format, so i use InferFileFormatFromDataFormat,
but i had to comment out the two lines for it to return anything ?
it might also be better if it returned an array since there must be many filetypes supporting the same format.

It depends on what your use case is. For this particular utility class, originally written to support afconvert, it only wants to infer if there is an unambiguous answer.



Is there an overview somewhere of what formats the files supports ?

You can use AudioFileGetGlobalInfo to find out what files types are supported and what data formats those files support.


_______________________________________________
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: CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more
      • From: Mark's Studio <email@hidden>
References: 
 >CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more (From: Mark's Studio <email@hidden>)

  • Prev by Date: Re: AudioConverterFillComplexBuffer, '!pkd' error
  • Next by Date: Re: AUGraph, multiChannelMixer inputs
  • Previous by thread: CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more
  • Next by thread: Re: CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more
  • Index(es):
    • Date
    • Thread