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: Thu, 8 May 2008 12:21:54 +0200
Matthew Leon Grinshpun wrote :
I have, oddly enough, had good luck with the following approach:
Change the packet index as you propose, then immediately call
AudioQueueStop on the queue and then, right afterward, call
AudioQueueStart.
This seems to do the trick for me.
While this does work, I can still hear half a second of audio (the
currently used buffer I presume) before it switches to the new position.
I tried filling the buffers with the new audio data between the calls
to AudioQueueStop and AudioQueueStart but the playback just stops
almost immediately after calling AudioQueueStart and without any error.
Any idea?
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