problem with call of AudioQueueEnqueueBuffer
problem with call of AudioQueueEnqueueBuffer
- Subject: problem with call of AudioQueueEnqueueBuffer
- From: Roland Silver <email@hidden>
- Date: Sun, 6 Jul 2008 09:04:51 -0600
In my program, AQSinewave, The call to status = AudioQueueEnqueueBuffer( queue, buffer, inNumPacketDescs, inPacketDescs ); where AudioQueueRef queue; AudioQueueBufferRef buffer; UInt32 inNumPacketDescs = 0; const AudioStreamPacketDescription *inPacketDescs = NULL; resulted in status = -6686, but the preceding call status = AudioQueueAllocateBuffer( queue, gCallbackData.bufferByteSize, &buffer ); Resulted in status = 0 (noErr) So it looks like the queue and buffer args of AudioQueueEnqueueBuffer are OK.
What's wrong?
|
_______________________________________________
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