Getting the USB device name of the USBSoundDevice #635
Replies: 3 comments 2 replies
-
|
Hi Nick, is this an USB string to be read? You can use the class |
Beta Was this translation helpful? Give feedback.
-
|
Honestly I never used an USB sound device with USB Plug-and-Play. But the way,
you did it, seems to be the only possible way to me. So if it works, it's OK.
|
Beta Was this translation helpful? Give feedback.
-
|
Is there a way to access the USBString, or how do i get the device from the pSoundIn pointer? Using lsusb it looks like what i want is part of the interface descriptor. For example this is the Tascam Model 12. Also interesting to note is that i see the midi interface has it's own name (iInterface 10 Model 12 MIDI), this would also be very useful for me to get because i have multiple usb midi devices attached and it's always a guess which one is which because they are just known as umidi1, umidi2, ... But this is my esp32 based lsusb output, the audio interface in macOS appears under the name 'usb uac', but when you connect it to the mac a window appears with the custom name i gave the usb device. I cannot see this name anywhere in this output however, so i'm not actually sure where it is, but it must be there since macOS displays this name in the "Allow Device to Connect" window: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Rene,
Is there any way to get the device name of the usb audio interface that is connected? I made a custom interface using an esp32 that has a specific name that i gave myself in the tinyusb header, and am trying to identify when it has been connected to my circle based project. I tried some things but didn't find a way yet.
Kind regards,
Nick
Beta Was this translation helpful? Give feedback.
All reactions