Re: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
Re: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
- Subject: Re: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
- From: Hamish Allan <email@hidden>
- Date: Thu, 26 Mar 2009 00:32:06 +0000
Hi Andrew,
I must admit I've never used AudioQueueOfflineRender, so take my
answer with a pinch of salt. But from what I know about AudioQueues
for device playback:
On Wed, Mar 25, 2009 at 9:17 PM, Andrew E. Davidson
<email@hidden> wrote:
> I can not figure out why The first AudioQueue stops invoking my call back
> responsible for reading and enqueue more data? My test code shows that the
> first queue is still running.
As you know, what your callback really tells you is just that a buffer
which was previously in use by the audio queue in question is now
available again, which under a pull model tends to imply that you need
to enqueue more data. That callback ceases to be called if and when
the audio queue has processed all the buffers you've enqueued, so the
only circumstance in which it should stop being called is if all the
data you've enqueued has been rendered. What is the errorStatus
returned by the call to AudioQueueEnqueueBufferWithParameters()?
Hamish
_______________________________________________
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