[wdmaudiodev] Re: Disable automatic default device change while installation.

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 21 Nov 2018 16:38:44 +0000

Do all of the following:


  1.  Implement KSPROPERTY_JACK_DESCRIPTION2 and set 
KSJACK_DESCRIPTION2.JackCapabilities to decry support for jack presence 
detection – that is, set the bit in the JACKDESC2_PRESENCE_DETECT_CAPABILITY 
location to 0
  2.  Set the KSPIN_DESCRIPTOR.Category to something less attractive than 
KSNODETYPE_SPEAKER; ksmedia.h has a list of GUIDs, and the white paper linked 
in the blog post has a prioritized list. KSNODETYPE_LINE_CONNECTOR comes to 
mind as a possibility.
  3.  Implement KSPROPERTY_JACK_DESCRIPTION for completeness

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of eno rocky <binoddummy@xxxxxxxxx>
Sent: Wednesday, November 21, 2018 8:07:29 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Disable automatic default device change while 
installation.

Hi,

Output as follows:

Render devices: 2
    Virtual Driver (My Virtual Device)
    Id: {0.0.0.00000000}.{xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx}
    IKsJackDescription2 not supported
    PKEY_AudioEndpoint_FormFactor: 1 (Speakers)
    PKEY_AudioEndpoint_JackSubType: {DFF21CE1-F70F-11D0-B917-00A0C9223196} 
(KSNODETYPE_SPEAKER)
    PKEY_Device_EnumeratorName: ROOT
    IKsJackDescription not supported

    Speakers (2- High Definition Audio Device)
    Id: {0.0.0.00000000}.{731fece2-aba3-46bf-9279-218bb2161871}
    KSJACK_DESCRIPTION2.JackCapabilities: presence detection not 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: 14 (eGeoLocNotApplicable)



On Wed, Nov 21, 2018 at 8:18 PM Matthew van Eerde 
<dmarc-noreply@xxxxxxxxxxxxx<mailto:dmarc-noreply@xxxxxxxxxxxxx>> wrote:
Send the complete output of the tool.

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of eno rocky <binoddummy@xxxxxxxxx<mailto:binoddummy@xxxxxxxxx>>
Sent: Wednesday, November 21, 2018 6:40:33 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: Disable automatic default device change while 
installation.

Hi,

Thank you for direction.
All endpoints are Speaker.
I am not using both JackDescriptor and JackDescriptor2.
Everything is lower and unattractive  to other drivers, except for 
PKEY_Device_EnumeratorName, mine is ROOT, and other drivers are HDAUDIO.
 Is that a problem? what else am I missing?

Thank you,


On Wed, Nov 21, 2018, 7:05 PM Matthew van Eerde 
<dmarc-noreply@xxxxxxxxxxxxx<mailto:dmarc-noreply@xxxxxxxxxxxxx> wrote:
You can make your virtual audio device less attractive to the default device 
heuristics. See 
https://blogs.msdn.microsoft.com/matthew_van_eerde/2014/03/24/troubleshooting-default-audio-device-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%7C82326a0159ea438fd41808d64fcb93b3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636784133157491127&sdata=Ldazp%2Fe%2FLM7hvk4DHie9vB4NSTnW8KbLhflZ8ljOd5g%3D&reserved=0>

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of eno rocky <binoddummy@xxxxxxxxx<mailto:binoddummy@xxxxxxxxx>>
Sent: Wednesday, November 21, 2018 1:20:00 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Disable automatic default device change while 
installation.

Hi,

Is there any way in windows 10 to prevent virtual audio driver from being 
default device only at installation not always?
As it is automatically selecting driver as default device on installation.
This problem I am facing in windows 10 only not other.
For installation i am using devcon.

Other related posts: