Re: How to select channel on multi-channel output device
Re: How to select channel on multi-channel output device
- Subject: Re: How to select channel on multi-channel output device
- From: Jeff Moore <email@hidden>
- Date: Fri, 13 Feb 2009 12:58:18 -0800
They level of API you want is probably at the AudioUnit level. With an
instance of AUHAL, you can address all the channels individually
however you like.
That said, the AudioQueue also does a lot of work for you with regards
to running an AudioConverter to convert the audio data from the format
you are providing to the format that is suitable for passing through a
graph of AudioUnits. You'll have to pick that work up as well.
You'll probably want to start off with the examples in the SimpleSDK
folder in the CoreAudio SDK.
On Feb 13, 2009, at 12:09 PM, Bob Ingraham wrote:
I have a 24 channel audio output device (a MOTU 24IO,) and I wanted
to assign one Audio Queue per output channel, so I could play
different
mp3 files on each channel for a multi-language Music-On-Hold
application.
Hence the need to be able to select a specific audio output channel
for playback, per thread.
I was using Audio Queue Services, but was then told by Bill Stewart
that "We don't really have a way to do this at the moment with audio
queue".
Since I have hit a dead-end with Audio Queue Services, I hope
someone can point me to the appropriate Core Audio API I should use
to accomplish this task.
The Core Audio API is so vast I just don't know where to go next.
Any pointers gratefully accepted.
Bob
----- Original Message -----
From: "Jeff Moore" <email@hidden>
To: "CoreAudio API" <email@hidden>
Sent: Friday, February 13, 2009 12:21:19 PM GMT -07:00 US/Canada
Mountain
Subject: Re: How to select channel on multi-channel output device
The answer to that question depends entirely on which CoreAudio API
you are using to play your audio.
On Feb 13, 2009, at 9:53 AM, Bob Ingraham wrote:
I have a multi-channel output device.
Right now, I can play audio out the first channel.
But is there a way in the CoreAudio API to override this and select
a different channel for output?
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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