Re: AudioQueue repeat play?
Re: AudioQueue repeat play?
- Subject: Re: AudioQueue repeat play?
- From: Jens Alfke <email@hidden>
- Date: Mon, 5 May 2008 09:33:02 -0700
On 5 May '08, at 4:16 AM, William Bates wrote:
I've implemented an audio file play feature using 10.5 AudioQueues
with no problems - play, pause, start, stop - except that once the
file has played to the end, I can't get it to play again using the
same queue. None of the obvious (to me) tricks have worked. Anyone
have any ideas?
I'm not sure if it's possible to start a queue again once it's been
stopped. You might have to create a new queue. Or you could just pause
the queue when it reaches the end, and unpause it if you want to play
the file again. But when you re-start the file, you'll need to enqueue
the first several buffers again, since the queue will have run out of
buffers at the end of playback.
—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