• 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: AudioConverterFillComplexBuffer returns '!dat'/kAudioCodecUnsupportedFormatError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverterFillComplexBuffer returns '!dat'/kAudioCodecUnsupportedFormatError


  • Subject: Re: AudioConverterFillComplexBuffer returns '!dat'/kAudioCodecUnsupportedFormatError
  • From: Hendrik Schreiber <email@hidden>
  • Date: Wed, 23 Nov 2011 14:03:57 +0100

On Nov 22, 2011, at 8:17 PM, David M. Cotter wrote:

> i can help with this
> send me the file and i'll look at it
> it may be you need to specify the output format of the converter audio unit to be integer

Hi David,

thanks a lot for offering your help. Really appreciate it.

After scrutinizing my code and comparing (again and again) with the ConvertFile example I realized that to convert Apple Lossless I have to read the MagicCookie from the source file and set it as property in the converter (with kAudioConverterDecompressionMagicCookie).

I had falsely assumed I only need that thing when actually writing to a file.

Cheers,

-hendrik _______________________________________________
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

References: 
 >AudioConverterFillComplexBuffer returns '!dat'/kAudioCodecUnsupportedFormatError (From: Hendrik Schreiber <email@hidden>)
 >Re: AudioConverterFillComplexBuffer returns '!dat'/kAudioCodecUnsupportedFormatError (From: "David M. Cotter" <email@hidden>)

  • Prev by Date: Re: Convolution Audio Unit how to?
  • Next by Date: Re: Preroll semantics & clarification of kAudioUnitProperty_OfflineRender
  • Previous by thread: Re: AudioConverterFillComplexBuffer returns '!dat'/kAudioCodecUnsupportedFormatError
  • Next by thread: MIDIPortDisconnectSource() hangs on 10.7
  • Index(es):
    • Date
    • Thread