Re: mapping a CoreAudio device to a USB device
Re: mapping a CoreAudio device to a USB device
- Subject: Re: mapping a CoreAudio device to a USB device
- From: Steve Checkoway <email@hidden>
- Date: Fri, 4 Aug 2006 16:23:57 -0700
On Aug 4, 2006, at 3:50 PM, Allen Brunson wrote:
dang, this is hard.
Jeff Moore wrote:
> 1) Starting with the device's AudioDeviceID, ask the HAL for
> the device's UID (kAudioDevicePropertyDeviceUID).
i figured out how to do that, after several hours of searching.
> 2) Search the IORegistry for a service that is a subclass of
> "IOAudioEngine" and has the same value for the property,
> "IOAudioEngineGlobalUniqueID" as the AudioDevice has for it's UID.
Maybe IORegistryEntrySearchCFProperty()
i've been working this for almost a whole day now, but i can't figure
it out. what api functions do i use for this? and it stands to
reason
that i won't be able to figure out this one either:
> 3) Walk up from this service through it's parents until you find
> the IOService that represents the USB device and/or the interface
> page you are interested in.
so api functions for that would be helpful as well.
IORegistryEntryGetParentEntry()
Open the Xcode documentation window, type IORegistry into the search
field and you get a whole list of functions that would seem to help
you here.
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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