• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: listing audio device UIDs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >listing audio device UIDs? (From: "Aaron B." <email@hidden>)

  • Prev by Date: Re: Audio recording bitdepth
  • Next by Date: noise on remote IO
  • Previous by thread: listing audio device UIDs?
  • Next by thread: Audio recording bitdepth
  • Index(es):
    • Date
    • Thread