• 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: How to loop AudioQueue output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to loop AudioQueue output


  • Subject: Re: How to loop AudioQueue output
  • From: William Stewart <email@hidden>
  • Date: Thu, 12 Feb 2009 15:28:14 -0800

Hi Bob

On Feb 12, 2009, at 2:51 PM, Bob Ingraham wrote:

I have a 24 channel audio output device (a MOTU 24IO,) and I'd like to assign one AudioQueue per output channel, so I can play different mp3 files on each channel.

(This is for a multi-language Music-On-Hold application.)

Thanks to Bill, I can now play audio on the first channel of my MOTU by changing the CurrentDevice property of the AudioQueue.

My three questions are:

1. How do I select a particular channel for this multi-channel AudioDevice?

We don't really have a way to do this at the moment with audio queue


2. How do I continuously loop a given audio file on a particular channel.

just loop the buffers you provide (when you get to the end, the next buffer you enqueue is read from the beginning again)




3. Architecturally, would the most efficient approach be to create separate thread for each channel and then have each thread create its own AudioQueue?


Thanks, Bob _______________________________________________ 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

_______________________________________________ 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: How to loop AudioQueue output
      • From: Bob Ingraham <email@hidden>
References: 
 >How to loop AudioQueue output (From: Bob Ingraham <email@hidden>)

  • Prev by Date: How to loop AudioQueue output
  • Next by Date: Re: How to loop AudioQueue output
  • Previous by thread: How to loop AudioQueue output
  • Next by thread: Re: How to loop AudioQueue output
  • Index(es):
    • Date
    • Thread