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: "Allen Brunson" <email@hidden>
- Date: Mon, 7 Aug 2006 15:32:01 -0500
- Thread-topic: mapping a CoreAudio device to a USB device
Title: RE: mapping a CoreAudio device to a USB device
Steve Checkoway wrote:
> 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.
i did that, but it's still a vast topic. i'm getting closer, though.
i was able to do this:
> 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.
using IOServiceGetMatchingServices(). now i'm trying to do this:
> 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.
i assume the right way to to that is with IORegistryEntryGetParentEntry(), right?
well, it works if i search for an entry in kIOServicePlane, but not in KIOUSBPlane.
i think i need a usb entry rather than a service entry, don't i? or is there some
way to make it work with a kIOServicePlane entry?
********************************************
This message is intended only for the use of the Addressee and
may contain information that is PRIVILEGED and CONFIDENTIAL.
If you are not the intended recipient, you are hereby notified
that any dissemination of this communication is strictly prohibited.
If you have received this communication in error, please erase
all copies of the message and its attachments and notify us
immediately.
Thank you.
********************************************
_______________________________________________
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