[wdmaudiodev] Re: audio device can not be found
- From: Tim Roberts <timr@xxxxxxxxx>
- To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
- Date: Fri, 13 May 2016 22:28:49 -0700
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.
X3P2 EZu�Ǭ>�-��,j�j)m�fj�b�ׯ~���+-���J��r��zf���0vf�v*z�ު笵��zX���+�˛��-
Other related posts: