Re: How to loop AudioQueue output
Re: How to loop AudioQueue output
- Subject: Re: How to loop AudioQueue output
- From: Bob Ingraham <email@hidden>
- Date: Thu, 12 Feb 2009 17:07:45 -0700 (MST)
Ouch.
But, since Audio Queue Services is just a high-level wrapper for manipulating Core Audio Units/Graphs, is there a way to directly access the Audio Unit that services my MOTU device and instruct it to select a particular channel before tell the AudioQueue to start?
If not, will falling-back to manipulating Core Audio Units myself allow me to select individual channels?
Bob
----- Original Message -----
From: "William Stewart" <email@hidden>
To: "Bob Ingraham" <email@hidden>
Cc: email@hidden
Sent: Thursday, February 12, 2009 4:28:14 PM GMT -07:00 US/Canada Mountain
Subject: Re: How to loop AudioQueue output
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