Re: AudioQueue and seeking through file
Re: AudioQueue and seeking through file
- Subject: Re: AudioQueue and seeking through file
- From: Thomas Clement <email@hidden>
- Date: Tue, 6 May 2008 19:39:27 +0200
Jens Alfke wrote :
On 6 May '08, at 7:56 AM, Thomas Clement wrote:
To do that I'm changing the packet index passed to
AudioFileReadPackets during the playback which is working but there
is a delay due to the audio being buffered.
I don't know of a good workaround for this. The buffering is what
makes AudioQueue easy to use, since you don't have to run your code
on a real-time thread, but it also means high latency.
Their must be a way to clear the buffers. Isn't AudioQueueFlush
supposed to do that?
In addition, the code definitely still seems to have some rough
edges in the area of stopping and restarting queues. I haven't seen
the side effects you report, but I've gotten a lot of deadlocks and
other misbehavior.
I've seen those side effects too...
Isn't AudioQueue supposed to be the next great thing for playing
audio? Should I use something else?
Thanks for your help,
Thomas
_______________________________________________
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