[wdmaudiodev] Re: Qusetion about IAudioSessionControl / ISimpleAudioVolume

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>, "Pete Brown (WDG/PAX)" <Pete.Brown@xxxxxxxxxxxxx>
  • Date: Wed, 17 Oct 2018 09:16:52 +0000

Because the problem you describe seems to indicate that Windows Media Player’s 
OnSimpleVolumeChanged callback isn’t being invoked.

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Vincent Burel (VB-Audio) <vincent.burel@xxxxxxxxxxxx>
Sent: Wednesday, October 17, 2018 2:12:51 AM
To: wdmaudiodev@xxxxxxxxxxxxx; Pete Brown (WDG/PAX)
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

So, why talking about OnSimpleVolumeChanged callback ?
I do nothing here, just storing values.


De : wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] ;
De la part de Matthew van Eerde (Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : mercredi 17 octobre 2018 11:03
À : wdmaudiodev@xxxxxxxxxxxxx; Pete Brown (WDG/PAX)
Objet : [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

Yes, that is what I understood from your original email.

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Wednesday, October 17, 2018 1:57:33 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

Ok, I will try that, but the problem is not in this way:
It is: when I call SetMasterVolume, Windows Media Player does not get it (on 
the graphic side and on audio side = no effect at all – the Windows Volume 
Mixer is getting it and move his slider, but not Windows Media Player).


De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Matthew van Eerde ;
(Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : mercredi 17 octobre 2018 10:39
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Objet : [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

Passing nullptr or &GUID_NULL is fine.

The reason the API allows passing an event context is because in some use cases 
it is important for a callback to be able to recognize changes that were 
initiated from the same app.

In such a case, you would define a GUID of your own, say, 
GUID_VOICEMEETER_VOLUME_UI. Whenever you called 
IAudioSessionControl::SetMasterVolume, you would pass 
&GUID_VOICEMEETER_VOLUME_UI.

Then in your IAudioSessionEvents::OnSimpleVolumeChanged callback, you would be 
able to do:
if (*EventContext == GUID_VOICEMEETER_VOLUME_UI) {
           // this is a change that I initiated coming back to me
} else {
           // this change came from somewhere else
}

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Wednesday, October 17, 2018 1:27:28 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

Hey Matthew, thanks to finally make a developer response !

Yes, I could make a small minimal program to isolate the problem and give you 
the source code, but you normally should be able to reproduce it with yours…

Anyway you made a remark that sounds interesting to me: the Event Context GUID 
passed in SetMasterVolume() is NULL or null_guid (tried both).
Do you mean we need to use a specific Event Context GUID for the Windows Media 
Player ? if yes which one, how are we expected to get it ? is there other 
application needing a specific Event Context GUID ? we got the problem only 
with Windows Media Player.

Regards
Vincent Burel

De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Matthew van Eerde ;
(Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : mercredi 17 octobre 2018 10:03
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Objet : [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

I know ISimpleAudioVolume::SetMasterVolume works (at least some of the time) – 
which was your second question – because the Volume Mixer and Windows Media 
Player use it, and as you demonstrated in your original email, the Volume Mixer 
and Windows Media Player work (at least some of the time.)

It doesn’t work from your app, which tells me your app is doing something 
different. Either the bug is in your app, or the bug is in Windows, but only 
happens when the API is being used the way your app uses it.

I am interested in chasing down the possibility that the bug is in Windows, 
which is why I asked for logs. I don’t know why you’re unwilling to provide 
them, it should be easy to do so. I often (but not always) get logs from other 
people, and often (but not always) the logs are helpful in finding problems.

If you can share the source code for your app, or a pull request for the 
minimum change to the sample that repros the problem, that might also help me 
find where the bug is (whether it’s in the app or Windows.)

Anyway, let’s pretend logging didn’t exist, and GitHub didn’t exist. What 
arguments are you passing to ISimpleAudioVolumeLevel::SetMasterVolume, 
especially for the EventContext GUID? Have you registered for 
IAudioSessionEvents::RegisterAudioSessionNotification callbacks? Are you doing 
anything at all exciting in the callback, e.g. waiting on a lock?

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Tuesday, October 16, 2018 11:01:29 PM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

How do you know if it works if you did not use your source code to make the 
test ?


De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Matthew van Eerde ;
(Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : mardi 16 octobre 2018 20:51
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Objet : [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

No, I didn’t modify my sample.

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Tuesday, October 16, 2018 11:44:24 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

So, I guess you used your code sample to get the WniMediaPlayer 
IAudioSessionControl and change the master volume with 
ISimpleAudioVolume->SetMasterVolume ?
And for you it works !? Please confirm ?


De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Matthew van Eerde ;
(Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : mardi 16 octobre 2018 15:58
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>; Pete Brown 
(WDG/PAX)
Objet : [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

I mean… the answer to your question as stated is that 
ISimpleAudioVolume::SetMasterVolume DOES work with Windows Media Player… as you 
point out in your question.

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Tuesday, October 16, 2018 12:22:48 AM
To: Pete Brown (WDG/PAX); 
wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

Yes Pete, Matthew is the audio developer! This is what I thought !
He even made some sample code on his 
https://github.com/mvaneerde/blog<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmvaneerde%2Fblog&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173298152&sdata=OwYmDS2n48sKDUdproVbyQs3lkVZjtDQKAtWxQhrhv0%3D&reserved=0>
to show how to use  IAudioSessionControl / ISimpleAudioVolume and so on…
That’s why I‘ve originally put my question to him directly,

I remind that my question is simply
“why ISimpleAudioVolume->SetMasterVolume does not work with Windows Media 
Player  ?”
Which is can be reproducible under WIN7 as well … meaning no-one got the 
problem in the last 10 years at Microsoft ?

At the end, I did not get a reply from a developer … so … it’s like having no 
developer finally…

BTW, Pete, since you are there, could you tell me if you know someone at 
Microsoft who tested the HLK process on SYSVAD example in the last 6 months ?

Regards
Vincent Burel


De : Pete Brown (WDG/PAX) [mailto:Pete.Brown@xxxxxxxxxxxxx]
Envoyé : mardi 16 octobre 2018 08:46
À : Vincent Burel (VB-Audio); 
wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Objet : Re: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume

Hi Vincent.

Matthew is one of the audio developers. 😊

If you noticed what I suggested earlier, it was that you log in the feedback 
hub so it collects the info that the developers need, and also gets put into 
Visual Studio. Then you post a link to the feedback item here. You can get the 
link by clicking the share button at the top right in the Feedback Hub.

Then you have:

  *   The correct information

  *   The right entry point into the workstream

  *   The developer's attention 😊

This is what teams often ask us to do even with internally reported bugs that 
for other teams.

Pete

Pete Brown – Microsoft Windows / PAX
@pete_brown<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2Fpete_brown&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173308165&sdata=VgGiUHxenJmhF4TCqsoK4Onwe4qQ8H%2BR5aVGpnjYMTw%3D&reserved=0>
 | 
SoundCloud<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsoundcloud.com%2FPsychlist1972&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173318174&sdata=ZXV492XR%2Fco1ColN%2F%2FdlxbdE7xVucsRB1EWOJMtlGts%3D&reserved=0>
 | 
YouTube<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fyoutube.com%2FPsychlist1972&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173318174&sdata=SmBqzJ3Rl3QyzV75ruVQWB8maajtl8Ag2szjClFh4Y8%3D&reserved=0>
 | 
Flickr<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fpsychlist1972%2Fsets%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173328178&sdata=704DRG0qfzxExjnvRufBJGUvb3ipijfLhFDHEckwk5A%3D&reserved=0>
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Tuesday, October 16, 2018 2:05 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume


Hey Pete !

how goes the audio revolution at Microsoft ?

They plan to hire an audio developer one day ?

That could be the revolution ! ☺



Well, you are confirming that there is no developer channel anymore.

Feedback hub is for users, then I will send to you my users.



Regards

Vincent Burel



De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Pete Brown ;(Redacted 
sender "Pete.Brown" for DMARC)
Envoyé : lundi 15 octobre 2018 21:04
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Objet : [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume



I know it can sound like it's a do-nothing request, but I know from my own 
interactions with different teams internally, that a feedback hub entry, with 
captured logs and detail, is often the best way to get the bug into the system. 
Usually I'll follow up with a link to the item.



Pete



Pete Brown – Microsoft Windows / PAX

@pete_brown<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2Fpete_brown&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173338186&sdata=1zk5tavLkk1feQe0%2B5zapBr3VQYE2DQsSc044E3bu7E%3D&reserved=0>
 | 
SoundCloud<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsoundcloud.com%2FPsychlist1972&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173338186&sdata=%2FOS2EhyzLG8RNQGDHyQuoJ%2BuobMB4ks3UWSCy5hrgNs%3D&reserved=0>
 | 
YouTube<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fyoutube.com%2FPsychlist1972&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173348190&sdata=rlFYOY6f%2BVT4jyfAXaJBza%2B%2FQQS2cpGNL0Zy66H8nsU%3D&reserved=0>
 | 
Flickr<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fpsychlist1972%2Fsets%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173348190&sdata=BEdXrMDdnCljEQnEOo6lDtLq3EwNl8G6%2BPWrUOn0mwc%3D&reserved=0>

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Monday, October 15, 2018 2:51 PM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume



Bingo! « Feedback Hub » again !





De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Matthew van Eerde ;
(Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : lundi 15 octobre 2018 20:13
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Objet : [wdmaudiodev] Re: Qusetion about IAudioSessionControl / 
ISimpleAudioVolume



Sounds like a bug. Please file it in Feedback Hub. Include logs of the problem 
in action.



________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Monday, October 15, 2018 9:37:07 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Qusetion about IAudioSessionControl / ISimpleAudioVolume



No luck so…



Just tried to post it on the social forum you pointed , and it says :

•         Body text cannot contain images or links until we are able to verify 
your account.



Just paid 1000$ this week to renew my Visual Studio subscription, and what ? 
they cannot verify my account !? :-) but they can take money!



Here it is my question:

TITLE: IAudioSessionControl / ISimpleAudioVolume->SetMasterVolume does not work 
with Windows Media Player



QUESTION: In our new Voicemeeter Virtual Audio Mixer Application, we use 
IAudioSessionManager2 to enumerate audio sessions on our Virtual Audio Input 
and we use ISimpleAudioVolume->SetMasterVolume to change the volume of a given 
application... It works with all applications except with Windows Media Player 
(WIN7 or WIN10).

When changing the volume on Windows Media Player, it changes on Windows Volume 
Mixer and Voicemeeter.

When changing the volume on Windows Mixer , it changes the volume on Windows 
Media Player and Voicemeeter.

When changing the volume on Voicemeeter, it changes the volume on Windows 
Mixer, but not on Windows Media Player.

Why?



[SessionControlISimpleAudioVolume.jpg]







De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Matthew van Eerde ;
(Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : lundi 15 octobre 2018 17:27
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Objet : [wdmaudiodev] Re: virtual audio driver removed via devcon, but it's 
only hidden



  *   The feedback hub is useless if there is no-one to read it and check the 
problem and correct it



Sure. Luckily, there *are* people to read it and check the problem and correct 
it.



You can post questions about Windows audio APIs to the Windows Desktop 
Pro-Audio Application Development forum

https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowspro-audiodevelopment&filter=alltypes&sort=lastpostdesc<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fen-US%2Fhome%3Fforum%3Dwindowspro-audiodevelopment%26filter%3Dalltypes%26sort%3Dlastpostdesc&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C249c4a5d27f1402648b308d63410cba8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636753644173358203&sdata=IKaYxSJfVt4qBYxuJJaGsTPrmaNLiRA3UK3qrxnGzMk%3D&reserved=0>



From: Vincent Burel (VB-Audio)<mailto:vincent.burel@xxxxxxxxxxxx>
Sent: Monday, October 15, 2018 12:13 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: virtual audio driver removed via devcon, but it's 
only hidden



Well, we are talking about bugs that are present since years,

And some are there since WIN7 (I even talked about WASAPI bugs on this list 
that are present since VISTA)

So no, you cannot say that your company cares about Audio.



I thank you for your personal effort, but as I already suggested, the feedback 
hub is useless if there is no-one to read it and check the problem and correct 
it.

It’s like the story about HLK certification, it’s just showing the 
way…Microsoft build an audio driver official example, Microsoft build a 
certification process, mandatory to sign this driver, and no-one at Microsoft 
is checking that SYSVAD is passing the HLK tests !?! Madness ?



Anyway I’ve played recently with IAudioSessionManager2, IAudioSessionControl 
etc… and I have 2 or 3 questions about this (totally bugged btw).

Since I saw you have GitHub for an example of code on these interfaces, let me 
know where do you prefer I put my questions ?



Regards

Vincent Burel





De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Matthew van Eerde ;
(Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : samedi 13 octobre 2018 13:13
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Objet : [wdmaudiodev] Re: virtual audio driver removed via devcon, but it's 
only hidden



  *   Microsoft does not care about this



Yes we do



  *   Please post a request in Feedback Hub



We say this because we want the log files so we can see what happened





From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>> on 
behalf of Vincent Burel (VB-Audio) 
<vincent.burel@xxxxxxxxxxxx<mailto:vincent.burel@xxxxxxxxxxxx>>
Sent: Saturday, October 13, 2018 12:14:52 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: virtual audio driver removed via devcon, but it's 
only hidden



Hello,



The problem is there since WIN7 and it seems the reboot is finalizing the 
uninstallation (this is the only way we found to be sure about the audio driver 
de-installation) .

…with WIN10 there is additional problems regarding driver 
installation/de-installation, especially re-installation (used by WIN10 
automatic update).



Also devcon.exe seems to be bugged and can install 2 instances of your audio 
driver, the instance will be marked as disabled, but de-installation won’t be 
clear anyway if you don’t de-install manually the disabled occurrence of your 
driver…



Microsoft does not care about this and the only reply will get is “please post 
a request in feedback hub”



Regards

Vincent Burel



De : wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] De la part de Johannes Freyberger
Envoyé : samedi 13 octobre 2018 08:37
À : wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Objet : [wdmaudiodev] virtual audio driver removed via devcon, but it's only 
hidden



Hi all,



when I’m uninstalling my pure virtual audio driver on some W10, 1803 machines 
via devcon remove the driver the driver doesn’t seem to be uninstalled 
completely as it is still visible as hidden device in the device manager even 
after a reboot. But in setupapi.dev.log the corresponding entry says:



 [Delete Device - ROOT\MEDIA\0006]

 Section start 2018/10/12 09:52:11.354

      cmd: "C:\Program Files (x86)\MyApplication\devcon.exe" remove *MyDriver

     dvi: Query-and-Remove succeeded

<<<  Section end 2018/10/12 09:52:12.031

<<<  [Exit status: SUCCESS]



On some other machines the drivers are completely gone and not in hidden state.



Could this “hidden driver” effect be due to user privileges or some Antivir 
software installed on these machines?

What makes an uninstalled driver go into this hidden state and can this have 
any subsequent negative effects if I’m installing a new version of my driver 
while the old version is still in this hidden state?

Could this be something which is new since the 1803 update as I don’t think 
I’ve seen this before?



Thanks and best regards,

Johannes Freyberger




JPEG image

PNG image

Other related posts: