• 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, '!pkd' error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverterFillComplexBuffer, '!pkd' error


  • Subject: Re: AudioConverterFillComplexBuffer, '!pkd' error
  • From: james mccartney <email@hidden>
  • Date: Mon, 6 Jul 2009 10:15:23 -0700


On Jul 5, 2009, at 5:09 PM, dct wrote:

I am experiencing a problem with AudioConverterFillComplexBuffer returning an error: '!pkd'. The only discussion of this error that I can find is a 2007 thread titled: "AAC and AudioConverter error 'pkd' error".

In that case the problem was handled by sending an error from the input proc when no more input data were available. In my case, the input proc is called only once and input data are provided.

In the Converter call to input proc, the item, "outDataPacketDescription" is a valid pointer but *outDataPacketDescription = 0x0 (i.e., nada). Does this mean that I need to pass a pointer to an AudioStreamPacketDescription instance back to the Converter?

Yes. In your input proc you need to set outDataPacketDescription to point to an array of filled out packet descriptions.



_______________________________________________ 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, '!pkd' error (From: dct <email@hidden>)

  • Prev by Date: Re: Reduce Audio Time Latency
  • Next by Date: Re: CAAudioFileFormats::InferFileFormatFromDataFormat BUG? and more
  • Previous by thread: AudioConverterFillComplexBuffer, '!pkd' error
  • Next by thread: Re: Reduce Audio Time Latency
  • Index(es):
    • Date
    • Thread