[wdmaudiodev] Is there a way to force clearing device property cache on device uninstallation?

  • From: Eugene Muzychenko <reg.wad@xxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 18 Jan 2019 22:37:35 +0100

As you may know, Win10 does not clear its audio device property store
for audio devices being uninstalled, using the store as a cache for
further re-installations of the same device.

Unfortunately, such behavior produces undesired effects with
virtual audio drivers that generate pin friendly names dynamically.

For example, the device is installed with "ROOT\MEDIA\0000"
instance ID and the driver returns the appropriate pin names.
Audio Subsystem stores these names in the Property Store.

Then the device is uninstalled. Property Store is not cleared, even
after a restart.

Then a different driver build, with different pin names, is installed.
Since "ROOT\MEDIA\0000" instance ID is free, the new devices gets this
ID. If filter reference names are the same (usually "wave" and
"topology"), full interface names are the same too. In such case,
Audio Subsystem uses friendly names stored in the Property Store
instead of querying the driver.

The problem is observed in 17134.RS4, maybe in newer builds too.

Is there a way to force either clearing Property Store entries on
device uninstallation, or filling them on installation?

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: