Problem with AudioQueueEnqueueBufferWithParameters - bug?
Problem with AudioQueueEnqueueBufferWithParameters - bug?
- Subject: Problem with AudioQueueEnqueueBufferWithParameters - bug?
- From: Mark Woollard <email@hidden>
- Date: Sun, 18 Nov 2007 19:45:35 +0000
I'm trying to use the following fragment of code to queue audio buffers for playback. If I don't try and set the volume, as indicated by the comment, then I don't have any problems and audio plays perfectly. With the code as I get EXC_BAD_ACCESS from within the AudioQueueEnqueueBufferWithParameters call (actually within call to memcpy). Is there something wrong with my approach or is this a bug? Running on 10.5.1...
Thanks Mark
AudioQueueParameterEvent volume = { kAudioQueueParam_Volume, theVolume };
AudioQueueEnqueueBufferWithParameters (mAudioQueue, mAudioBuffers[ n ], mAudioPackets[ n ], &mAudioPacketDescs[ n ], 0, 0, 1, volume, // 0, NULL, NULL, NULL);
|
_______________________________________________
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