Replies: 2 comments
-
The error basically means the device does not understand the command you send. This may not be a good first task with libusb as you need to know the UAC Protocol and then use the right libusb command. Usually you may need to set up the device in the right operating mode and then it will accept the command. There is probably a better way to achieve this goal -- you may want to see if there is a Windows API which can do that with the default system USB Audio driver. That is out of scope for this project and I will suggest you go to places like StackOverflow to ask. If you still want to go with libusb, then you may want to ask in libusb-devel mailing list. You need to subscribe to the mailing list in order to post. |
Beta Was this translation helpful? Give feedback.
-
@mcuee Thanks for your reply. Actually, this issue was intended to solve another problem. I've successfully sent the command, but the other problem still exists. I've created a new issue #1487 , please take a look when you have time. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi libusb team,
I'm currently using libusb-1.0.27 to control a microphone device via the UAC protocol on the Windows system. I'm trying to control the volume of this microphone, but I encountered an error when sending the volume control command using libusb_control_transfer. I'm a newbie in both USB and UAC development, so I'm not sure where the problem lies. Could you please help me take a look at what might be wrong? Thank you very much!
My test code
The debug log
The Device Info
Beta Was this translation helpful? Give feedback.
All reactions