AudioQueue and seeking through file
AudioQueue and seeking through file
- Subject: AudioQueue and seeking through file
- From: Thomas Clement <email@hidden>
- Date: Tue, 6 May 2008 16:56:12 +0200
Hi list,
I'm using an AudioQueue to play an audio file from disk and I want to
be able to seek through the file just like you would do in QT Player
or iTunes.
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.
So I though AudioQueueFlush or AudioQueueReset would help but I
couldn't get it to work correctly. I also tried to stop the queue,
change the packet index, buffer the new data and start the queue,
however the audio sounds wrong and stops playing almost immediately.
What is the correct process for doing this?
Thanks,
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