How to read the USB audio device's VID & PID ?
Solved
General and Desktop
-
I have an USB audio deivce and I wan't to detect if it is inserted.
I have tried the "QAudioDeviceInfo" class, but it seems the class can only obtain device name which is useless for me.@Soul
you can try libusb, like described in this thread -
Hi @raven-worx ! Thank you for your reply . I think there maybe a easier way which using the win32-API. but I think your solution is the best .