[wdmaudiodev] Re: audio device can not be found

  • From: 若水 <shlikewater@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Sat, 14 May 2016 16:31:17 +0800

Hello Tim,
 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.

Best Regards,
Shang Jing

2016-05-14 13:28 GMT+08:00 Tim Roberts <timr@xxxxxxxxx>:

On May 13, 2016, at 4:12 AM, 若水 <shlikewater@xxxxxxxxx> wrote:

I am a newer in WDM Audio driver development. I developed a wdm audio
driver for an USB audio for Win7 or later system. I cannot use usbaudio
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 be
found. The following is details.
1 If I plug in my device firstly in a computer, the win7 will use
usbaudio driver to my device.
2 I have not program the installer, so, I modified the registry by using
regedit. I add a service in HKLM\SYSTEM\CurrentControlSet\service\MyAudio.
Then, I modified the
HKLM\SYSTEM\CurrentControlSet\Enum\USB\VID_0D18&PID1004&MI_00\8&27af1e98&0&0000\Service\MyAudio

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
have.

Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.


Other related posts: