How to loop AudioQueue output
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