Re: Do different input devices require different AudioUnits?
Re: Do different input devices require different AudioUnits?
- Subject: Re: Do different input devices require different AudioUnits?
- From: Chris Reed <email@hidden>
- Date: Sun, 13 Jun 2004 14:07:08 -0500
Use the kAudioOutputUnitProperty_CurrentDevice property to change the
device of an output AU.
Also, be sure you use an kAudioUnitSubType_HALOutput unit. The default
or system output units track the devices set in the system preferences
and will automatically switch back if the user changes the preferences.
-chris
On Jun 13, 2004, at 1:13 PM, Chilton Webb wrote:
>
Hi,
>
>
Can one audio unit represent one device for output and another device
>
for input?
>
>
I have my audio input, filter, output code working great. Now I want
>
to set the audio to one of several different sources (usb Mics). So to
>
do this, do I set up an AudioUnit for each input device, and each
>
output device? If so, how do I specify which device each audio unit
>
represents?
>
>
Or is there some way that I can use the one current audioUnit ( which
>
is also my output audio unit), and set its input to a different
>
device?
>
>
Thank you,
>
-Chilton
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.