Re: Problem with AudioQueueEnqueueBufferWithParameters - bug?
Re: Problem with AudioQueueEnqueueBufferWithParameters - bug?
- Subject: Re: Problem with AudioQueueEnqueueBufferWithParameters - bug?
- From: Mark Woollard <email@hidden>
- Date: Sun, 18 Nov 2007 19:51:01 +0000
Quick follow-up - the code has lost the '&' infront of volume - it does fail the same with it there... Mark On 18 Nov 2007, at 19:45, Mark Woollard wrote: 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