Finding the USB VID/PID associated with a CoreAudio device on OSX -


I need to determine which physical USB device (via VID / PID / SerialNumber) is an arbitrary CoreAduio AudioDevice CorodeAudio allows various types of device proprietary such as transport types (USB in my case), a UID (unique in sessions and machines), and some configuration strings.

Both audio parts of IOKit and CoreAudio represent a representation for audio devices but it is not clear how to bridge the gap between the two (looks like I was able to query AudioDevice for IOAudioDevice Should be ...)

I found the following from IOUSBDeviceInterface Code> AudioDeviceID :

There is no direct mapping between the two, but most of the time The best way would be to:

  1. Get the UID string for the device from HAL
  2. Create a matching dictionary that searches for IOAudioEngine objects
  3. when Until you meet with the UID property you meet with HAL, repeat through the matching services
  4. To find the USB object running on IorGDI from here

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -