Re: ProductID read from the USB descriptors for an audio device
Re: ProductID read from the USB descriptors for an audio device
- Subject: Re: ProductID read from the USB descriptors for an audio device
- From: philippe wicker <email@hidden>
- Date: Thu, 29 Jun 2006 17:24:36 +0200
On Jun 29, 2006, at 2:38 PM, Alex Ivanov wrote:
Ok thanks, but my problem is that i need to obtain that USB productID through an AudioDeviceID. Is this possible using CoreAudio API?
Dunno :(
You can determine if the device is USB, FireWire, etc... by querying the property kAudioDevicePropertyTransportType... and hope that Apple people - or others - have an answer for the following steps :)
This is more a question for the USB dev list (
You can find answers to that question by looking at the /Developer/ Examples/IOKit/usb/ folder. The "RawDeviceAdded" function in ezloader/ main.c contains code to do that (IOUSBDeviceInterface::GetDeviceVendor/Product).
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around
|
_______________________________________________
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