Thank you for your help.
About your first suggestion, filter driver, I do not know how to handle
the WDM streaming. Because my driver must play WDM audio sound and Asio
sound AT THE SAME TIME. So, If I write a filter driver, how to capture the
pin process to mixer sound?
About registry, I will write an .inf file. Thanks.
2016-05-14 13:28 GMT+08:00 Tim Roberts <timr@xxxxxxxxx>:
On May 13, 2016, at 4:12 AM, 若水 <shlikewater@xxxxxxxxx> wrote:
driver for an USB audio for Win7 or later system. I cannot use usbaudio
I am a newer in WDM Audio driver development. I developed a wdm audio
driver, because I must add asio function in my driver.
By far the best way to do this is to write a filter driver for usbaudio.
That way, you let usbaudio.sys handle all of the streaming without having
to reinvent the years and years of effort in that driver.
Now, I am debugging my driver. The problem is that the driver cannot befound. The following is details.
1 If I plug in my device firstly in a computer, the win7 will useusbaudio driver to my device.
2 I have not program the installer, so, I modified the registry by usingregedit. I add a service in HKLM\SYSTEM\CurrentControlSet\service\MyAudio.
Then, I modified the
There is much more registry manipulation needed to get an audio driver
installed. If you insist on following this path, you must use an INF.
Believe me, writing an INF is far easier than hacking the registry as you
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.