I am setting the packet count and filling out that number of packet descriptions.
And, with no return, I don't get any error code, !pkt, or any other.
The code (which follows the attempt to set ioData values) is as follows:
*outDataPacketDescription = callBack->outPcktDescPtr;
callBack->outPcktDescPtr->mStartOffset = 0;
callBack->outPcktDescPtr->mVariableFramesInPacket = 1;
callBack->outPcktDescPtr->mDataByteSize = nn * callBack->outBytsPerInPckt;
( where nn = # input packets = 1 in my test case )
In debug, observing *outDataPacketDescription immediately following this code snippet shows:
outDataPacketDescription : 0xbfffe6a8
*outDataPacketDescription : 0xbfffe950
mStartOffset : 0
mVariableFRamesInPacket : 1
mDataByteSize : 9216
Are you suggesting that outDataPacketDescription needs to be an array of (in this case) 1152 packet descriptions such that:
mVariableFRamesInPacket = 1 in each,
mDataByteSize = 8 in each, and
mStartOffset indexes by 8 with each packet description ?
Don
On Jul 20, 2009, at 2:44 PM, Doug Wyatt wrote:
In your input callback, you should be setting the packet count and filling out that number of packet descriptions. Are you doing that?
On Jul 20, 2009, at 12:09 , dct wrote:
As reported earlier in the thread "Endless loop running AudioConverterFillComplexBuffer", I have a situation where, once called, AudioConverterFillComplexBuffer calls the inputProc once and then fails--neither calling inputProc again nor returning.