简体   繁体   English

如何访问使用 Usbccgp 驱动程序的设备

[英]How can I acces a device that uses Usbccgp driver

In my project, ı need to write a program that can access an external soundcard and take discrete input sound data.在我的项目中,我需要编写一个可以访问外部声卡并获取离散输入声音数据的程序。 The device uses isochronous data transfer and Usbccgp.sys driver.该设备使用同步数据传输和 Usbccgp.sys 驱动程序。 In that case, I can not use WinUsb and LibUsb functions.在那种情况下,我不能使用 WinUsb 和 LibUsb 函数。 What should be my solution path in that situation?在这种情况下,我的解决方案应该是什么? Writing a new driver to access the device or using another driver to communicate each interface of the device?编写一个新的驱动程序来访问设备或使用另一个驱动程序来通信设备的每个接口?

Your sound card probably already has drivers, assuming it is a real product made by a company who wants its users to actually be able to use it.您的声卡可能已经有驱动程序,假设它是由一家希望其用户真正能够使用它的公司制造的真实产品。 So you don't need to write drivers.所以你不需要编写驱动程序。

Just use the appropriate Windows sound API.只需使用相应的 Windows 声音 API。 I'm not sure which one is the best, but here are some links to start off your research:我不确定哪一个是最好的,但这里有一些链接可以开始你的研究:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM