Re: AudioConverterFillComplexBuffer, '!pkd' error
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