• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AudioQueue repeat play?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AudioQueue repeat play? (From: William Bates <email@hidden>)

  • Prev by Date: Re: Getting AU to produce sound output
  • Next by Date: Re: Getting AU to produce sound output
  • Previous by thread: AudioQueue repeat play?
  • Next by thread: AudioQueue and seeking through file
  • Index(es):
    • Date
    • Thread