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

How to loop AudioQueue output


  • Subject: How to loop AudioQueue output
  • From: Bob Ingraham <email@hidden>
  • Date: Thu, 12 Feb 2009 15:51:31 -0700 (MST)

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?

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

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

  • Follow-Ups:
    • Re: How to loop AudioQueue output
      • From: William Stewart <email@hidden>
References: 
 >Re: How to record input and output sound into one file? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Offline AUs
  • Next by Date: Re: How to loop AudioQueue output
  • Previous by thread: Re: How to record input and output sound into one file?
  • Next by thread: Re: How to loop AudioQueue output
  • Index(es):
    • Date
    • Thread