• 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: Audio queues...again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio queues...again


  • Subject: Re: Audio queues...again
  • From: William Stewart <email@hidden>
  • Date: Mon, 27 Apr 2009 18:24:07 -0700


On Apr 27, 2009, at 1:53 PM, Etienne Gignac Bouchard wrote:

Thank for replying.

I forgot to mention : iphone sdk 2.2.1, format is wav.

I need 2 audio queues to start playing at the exact same host time. I tried enqueuewithparameters on the first buffers of the queues with a absolute hosttime but it is completely ignored.

This is an issue that we have since addressed, but it is broken with 2.2.1




I have been looking into remoteIO. Although lower level, I heard people have had success with them to play files simultaneously with multiple audio units through a mixer.

you can play files simulateously using audio queues as well - it does the same mixing, etc as you would do here.


The difference is whether you have them synchronised, which currently you don't with audio queue. With remote I/O you can handle the synchronisation yourself as you are responsible for the mixing.

One thing you need to bare in mind though is that you cannot read the files from the i/o thread - so you need to either load the entire files into memory (not advisable if the files are big of course), or build a threading playback model (its not an insignificant amount of work).

But if I can find a working case of enqueueing with host times, I might change my mind....do you have code that works in that fashion ?

I'm not sure that we do

Bill

_______________________________________________
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: 
 >Re: Audio queues...again (From: Etienne Gignac Bouchard <email@hidden>)

  • Prev by Date: Should I use QuickTime?
  • Next by Date: Re: Audio queues...again
  • Previous by thread: Re: Audio queues...again
  • Next by thread: Re: Audio queues...again
  • Index(es):
    • Date
    • Thread