• 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 and seeking through file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioQueue and seeking through file


  • Subject: Re: AudioQueue and seeking through file
  • From: Thomas Clement <email@hidden>
  • Date: Tue, 6 May 2008 19:39:27 +0200

Jens Alfke wrote :

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.

Their must be a way to clear the buffers. Isn't AudioQueueFlush supposed to do that?


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.

I've seen those side effects too...
Isn't AudioQueue supposed to be the next great thing for playing audio? Should I use something else?



Thanks for your help, 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


  • Follow-Ups:
    • Re: AudioQueue and seeking through file
      • From: "Matthew Leon Grinshpun" <email@hidden>
References: 
 >AudioQueue and seeking through file (From: Thomas Clement <email@hidden>)
 >Re: AudioQueue and seeking through file (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: AudioQueue and seeking through file
  • Next by Date: Stereo panning with the HAL
  • Previous by thread: Re: AudioQueue and seeking through file
  • Next by thread: Re: AudioQueue and seeking through file
  • Index(es):
    • Date
    • Thread