[wdmaudiodev] Re: Unexpected default sound device on Windows 10

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 21 Dec 2017 13:07:43 +0000

  *   In such case Windows should not select this endpoint as a default 
playback one automatically upon installation



Right. If you’re seeing a “never set as default” endpoint being automatically 
chosen as default, that’s a bad bug in Windows.



  *   KSJACK_DESCRIPTION2.JackCapabilities: presence detection supported



If you would like not to be the default, one of the very best things you can do 
is decry support for jack presence detection by clearing the 
JACKDESC2_PRESENCE_DETECT_CAPABILITY flag in  
KSJACK_DESCRIPTION2.JackCapabilities. That’s the single most important thing 
Windows looks at when deciding the default device.



________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Eugene Muzychenko <reg.wad@xxxxxxxxxxxxxx>
Sent: Thursday, December 21, 2017 3:38:08 AM
To: Matthew van Eerde
Subject: [wdmaudiodev] Re: Unexpected default sound device on Windows 10

Expected behavior for the property key is to prevent the endpoint
from becoming the default under any circumstances.

But in such case Windows should not select this endpoint as a default
playback one automatically upon installation, right? However,
10.0.16299.15 and 10.0.16299.64 always select such endpoints,
preferring them to Speakers of Realtek HD.

you could take a look at the Windows default device selection heuristics:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fmatthew_van_eerde%2F2014%2F03%2F24%2Ftroubleshooting-default-audio-device-heuristics%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7Cc8c13a86a15a4e5dc16108d548676195%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636494531223627924&sdata=CLDDDOXCMjgCTqcJJMyjuNizaFdOWgEpeqpQyaAYlcY%3D&reserved=0

Thank you. But Win10 obviously doesn't follow this algorithm. Your
defaultaudiodevice.exe shows the following:

Render devices: 2
    Speakers (High Definition Audio Device)
    Id: {0.0.0.00000000}.{08ae67ab-18ac-406a-be89-f91c70eca43f}
    KSJACK_DESCRIPTION2.JackCapabilities: presence detection supported
    PKEY_AudioEndpoint_FormFactor: 1 (Speakers)
    PKEY_AudioEndpoint_JackSubType: {DFF21CE1-F70F-11D0-B917-00A0C9223196} 
(KSNODETYPE_SPEAKER)
    PKEY_Device_EnumeratorName: HDAUDIO
    KSJACK_DESCRIPTION.GenLocation: 0 (eGenLocPrimaryBox)
    KSJACK_DESCRIPTION.GeoLocation: 1 (eGeoLocRear)

    Line 1 (Virtual Audio Cable)
    Id: {0.0.0.00000000}.{cce60a5b-d147-4159-9af0-27af1de6b2e7}
    KSJACK_DESCRIPTION2.JackCapabilities: presence detection supported
    PKEY_AudioEndpoint_FormFactor: 2 (LineLevel)
    PKEY_AudioEndpoint_JackSubType: {DFF21FE3-F70F-11D0-B917-00A0C9223196} 
(KSNODETYPE_LINE_CONNECTOR)
    PKEY_Device_EnumeratorName: ROOT
    KSJACK_DESCRIPTION.GenLocation: 1 (eGenLocInternal)
    KSJACK_DESCRIPTION.GeoLocation: 14 (eGeoLocNotApplicable)

However, upon installation of Virtual Audio Cable virtual
device/driver, 10.0.16299.15 and 10.0.16299.64 always select Line 1.
If I change default playback endpoint back to Speakers (High
Definition Audio Device), uninstall my driver, then install it back,
Windows selects Line 1 as default playback endpoint again. If there
are two virtual endpoints (Line 1 and Line 2, created in the ascending
order), Windows selects Line 2.

Regards,
Eugene

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

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:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7Cc8c13a86a15a4e5dc16108d548676195%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636494531223627924&sdata=RFsFQwyh2tq2HpaV5aseFuLdbEhyb0uzkuTURLp%2BbCY%3D&reserved=0

Other related posts: