AudioConverterFillComplexBuffer stops being called when data starved
AudioConverterFillComplexBuffer stops being called when data starved
- Subject: AudioConverterFillComplexBuffer stops being called when data starved
- From: mike woodworth <email@hidden>
- Date: Wed, 20 Jun 2007 13:50:16 -0400
Hello,
I'm finally making the sort of progress in core audio that results in actual sounds coming out of my speakers - a big encouragement to keep pressing on! However, I've run into a problem with audioconverters I'm hoping someone can help me answer.
I have a default output with a input Proc that in turn calls AudioConverterFillComplexBuffer() to get the setup audioconverter to convert more data and return it. This is working fine, until the first time my incoming buffer of compressed data gets completely emptied. At this point, I return noErr and 0 packets from the AudioConverterComplexInputDataProc callback. From then on, my render callback continues calling AudioConverterFillComplexBuffer(), but this in turn no longer calls my AudioConverterComplexInputDataProc callback for additional data.
What am I doing wrong? Do I need to reset something in the converter after a stall like this? Should I be returning something other than noErr from the callback?
mike -- Mike Woodworth
|
_______________________________________________
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