Re: listing audio device UIDs?
Re: listing audio device UIDs?
- Subject: Re: listing audio device UIDs?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 30 Nov 2009 10:16:07 +0100
Le 28 nov. 2009 à 18:11, Aaron B. a écrit :
> Hi,
>
> I would like to use an Audio Queue to get input from a device other
> than the default input device. I understand I can use
> AudioQueueSetProperty to set the property
> kAudioQueueProperty_CurrentDevice. However, I don't understand how to
> get the UID of an audio device. I'm sure it's in the Apple docs, but
> I've spent a long time browsing and searching and can't find anything.
You should use the HAL API.
You can get it by querying the kAudioHardwarePropertyDevices from the kAudioObjectSystemObject.
There is some helper class to do that in the CoreAudio SDK (CAHALAudioSystemObject in /Developer/Extras/CoreAudio/PublicUtility on 10.6. There is a different class to do that in the 10.5 SDK in /Developer/Example/CoreAudio)
-- Jean-Daniel
_______________________________________________
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