Re: AudioQueue and seeking through file
Re: AudioQueue and seeking through file
- Subject: Re: AudioQueue and seeking through file
- From: Jens Alfke <email@hidden>
- Date: Tue, 6 May 2008 08:05:36 -0700
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.
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.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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