Re: AudioQueue: detecting buffer underrun (again...)
Re: AudioQueue: detecting buffer underrun (again...)
- Subject: Re: AudioQueue: detecting buffer underrun (again...)
- From: Brett George <email@hidden>
- Date: Sun, 25 May 2008 23:30:11 -0700
Jens Alfke wrote:
My workaround for all of this has been to ignore the returned
mSampleTime, and synthesize my own equivalent based on the mHostTime.
I'm seeing my own problems with AudioQueueGetCurrentTime. Did you ever
figure this out?
I occasionally see it fail when I call that function in the Input
callback. It fails with code "kAudioQueueErr_InvalidRunState", which is
defined as "The queue is running but the function can only operate on
the queue when it is stopped, or vice versa.". However, I receive this
both when the Queue is running and when it has stopped.
Another thing I have seen, is that the data returned in mSampleTime is a
very large numer, but the mFlags are still showing that mSampleTime is
valid (it returns 0x7)
Othertimes, it works fine. I have yet to figure out why it works in some
situations and not in others.
Brett.
_______________________________________________
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