Re: AudioQueuePause not pausing
Re: AudioQueuePause not pausing
- Subject: Re: AudioQueuePause not pausing
- From: Michael Hanna <email@hidden>
- Date: Mon, 30 Aug 2010 19:27:46 -0400
Thanks Doug! It turns out you were correct. The call to AudioQueueStart() was always being hit, put it below the curly brace instead of above...grrr :)
Michael
On Mon, Aug 30, 2010 at 2:35 PM, Doug Wyatt
<email@hidden> wrote:
On Aug 29, 2010, at 11:07 , Michael Hanna wrote:
Hello, on Mac OS 10.6, linking to 10.6SDK, AudioQueuePause() call to a audio queue that is already started results not in a pause but the queue restarts at the beginning of the file and playback proceeds to "skip" every couple seconds.
I have confirmed that even after AudioQueuePause() is called my AudioQueueBufferCallback continues to get called. I'm not sure how to diagnose an issue like this. The only thing I can do is to show how I set up the queue and perhaps someone can suggest what I'm doing wrong...
It's possible that your buffer callback could get called while the queue is paused, especially immediately after pausing it. But I think that's not the main thing going on here.
It sounds as if the queue is being restarted immediately after being paused. You might log every call to AudioQueueStart to see if that's what's happening.
Doug
_______________________________________________
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