Hey all,
I am reading this mailing list since a long time and it was always very helpful for CoreAudio specific stuff. My newest topic to detect and identify attached sound cards correctly. The only way to do this to have a unique ID and a list with known IDs for special handling. On Windows it is made through a DirectX. It was also a pain there ;) What do I have? I have an AudioUnit object and an AudioDeviceID. What do I want? I would like to get the USB/PCI vendor id and product id. Frist I found retrieving kAudioDevicePropertyModelUID deliveres somehow those information. I am not sure if I can rely on it, since it's a string concatenated with the name of the device. My personal feeling is that this doesn't always work correctly. Much better would be to go down to USBKit, just for USB (anyway most common interface). After googling I found this post from Jeff Moore: https://groups.google.com/forum/#!msg/coreaudio-api/Nt2fvnI27gQ/yRlVJJCHfjkJ 0. I have found the UID. It's just kAudioDevicePropertyDeviceUID from what I understand 1. There is no IOAudioEngine class. What does he mean there? 2. I created a dictonary with all USB devices but I am not sure where to find the UID to match Maybe someone has some small code snippet to share to solve this problem? I am pretty stuck right now. kind regards Matthias -- Matthias Hänel Geschäftsführer/ Managing Director ------------------------------------------------------------------------ UltraMixer Digital Audio Solutions Am Waldschlößchen 2 01099 Dresden ------------------------------------------------------------------------- [email protected] http://www.ultramixer.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
