[wdmaudiodev] Re: [EXTERNAL] Do Not Make Me The Preferred Device

  • From: Gary Daniels <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Gary.Daniels" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 23 Feb 2021 00:04:40 +0000

Could you use an extension 
<https://docs.microsoft.com/en-us/windows-hardware/drivers/install/using-an-extension-inf-file>
 inf to set PKEY\_AudioDevice\_NeverSetAsDefaultEndpoint - Windows drivers | 
Microsoft 
Docs<https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/pkey-audiodevice-neversetasdefaultendpoint>?

This property key is the primary mechanism that a driver would have to control 
the system default.

The other option would be to adjust the terminal type reported, which would 
change how the endpoint is ranked against other endpoints in the system. This 
won't prevent it from becoming default, but could make it less likely to become 
default.

Gary Daniels
Senior SDE
Microsoft Windows Audio


Sent from Outlook<http://aka.ms/weboutlook>

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx on behalf of Tim Roberts
Sent: Monday, February 22, 2021 2:26 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [EXTERNAL] [wdmaudiodev] Do Not Make Me The Preferred Device

I think I've read this answer before, but I can't find it.

I have a USB audio device.  Well, it's virtual device, but it walks and
talks like a USB audio device.  usbaudio.sys happily communicates with
me and handles microphone and speaker data.

When my device is enumerated, it becomes the preferred default device.
I don't want that.  I just want to slip quietly into the background.
I've seen answers that use properties to suppress that, but in this case
it is usbaudio.sys that is creating the properties, not me.  How can I
force the system not to make me the preferred device?

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


Other related posts: