Re: AudioQueue: detecting buffer underrun (again...)
Re: AudioQueue: detecting buffer underrun (again...)
- Subject: Re: AudioQueue: detecting buffer underrun (again...)
- From: Peter Rebholz <email@hidden>
- Date: Thu, 24 Apr 2008 19:56:33 -0500
On Apr 24, 2008, at 5:26 PM, Jens Alfke wrote: ...except if there's been a "discontinuity", like plugging in headphones. That causes the current sample time to reset to zero, actually to a negative number, and I can't use it any more as a time-base for computing the sample time to schedule the buffer.
Is there something like kAudioOutputUnitProperty_StartTimestampsAtZero for the audio queue? If set to false(0), this property keeps the timestamps from starting over when things like sample rate change.
Peter |
_______________________________________________
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