• 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: Jens Alfke <email@hidden>
  • Date: Tue, 6 May 2008 08:05:36 -0700


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.


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.

—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

  • Follow-Ups:
    • Re: AudioQueue and seeking through file
      • From: Thomas Clement <email@hidden>
References: 
 >AudioQueue and seeking through file (From: Thomas Clement <email@hidden>)

  • Prev by Date: AudioQueue and seeking through file
  • Next by Date: Re: AudioQueue and seeking through file
  • Previous by thread: AudioQueue and seeking through file
  • Next by thread: Re: AudioQueue and seeking through file
  • Index(es):
    • Date
    • Thread