[wdmaudiodev] Re: Qusetion about IAudioSessionControl / ISimpleAudioVolume

  • From: "Vincent Burel \(VB-Audio\)" <vincent.burel@xxxxxxxxxxxx>
  • To: "'Pete Brown \(WDG/PAX\)'" <Pete.Brown@xxxxxxxxxxxxx>, <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 16 Oct 2018 09:22:48 +0200

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

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
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

 <http://twitter.com/pete_brown> @pete_brown |  
<http://soundcloud.com/Psychlist1972> SoundCloud |  
<http://youtube.com/Psychlist1972> YouTube |  
<http://www.flickr.com/photos/psychlist1972/sets/> Flickr 

  _____  

From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Vincent Burel (VB-Audio) <vincent.burel@xxxxxxxxxxxx>
Sent: Tuesday, October 16, 2018 2:05 AM
To: 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 ! J

 

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] ;
De la part de Pete Brown (Redacted sender "Pete.Brown" for DMARC)
Envoyé : lundi 15 octobre 2018 21:04
À : 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

 
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2Fpete_brown&data=02%7C01%7Cpete.brown%40microsoft.com%7C37796304141440b3f4ed08d6332d7807%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636752667735883015&sdata=56CYdVtKJtKXQ7kn1KFuuxxm2urZa7WO3ljJxGsu%2FqQ%3D&reserved=0>
 @pete_brown |  
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsoundcloud.com%2FPsychlist1972&data=02%7C01%7Cpete.brown%40microsoft.com%7C37796304141440b3f4ed08d6332d7807%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636752667735893024&sdata=tgJUDDMNPLbMSlluQ59gMGkC0wbRB5LmBcU594YV%2B38%3D&reserved=0>
 SoundCloud |  
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fyoutube.com%2FPsychlist1972&data=02%7C01%7Cpete.brown%40microsoft.com%7C37796304141440b3f4ed08d6332d7807%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636752667735903028&sdata=8ZcXOdShNVYcea9ortlzxrKbCwChfKjIXD9a5%2FEJqiw%3D&reserved=0>
 YouTube |  
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fpsychlist1972%2Fsets%2F&data=02%7C01%7Cpete.brown%40microsoft.com%7C37796304141440b3f4ed08d6332d7807%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636752667735903028&sdata=pFW6piaYOUMBr%2FVPy7ehS%2FbbSXOAXtvM8ILKNlVqZK4%3D&reserved=0>
 Flickr 

  _____  

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

 

Bingo! « Feedback Hub » again ! 

 

 

De : 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
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 <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Vincent Burel (VB-Audio) <vincent.burel@xxxxxxxxxxxx>
Sent: Monday, October 15, 2018 9:37:07 AM
To: 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] ;
De la part de Matthew van Eerde (Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : lundi 15 octobre 2018 17:27
À : 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
 
<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%7Cpete.brown%40microsoft.com%7C37796304141440b3f4ed08d6332d7807%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636752667735913040&sdata=calzRA91LbrN5bTpb3E8yMq5LVKXkO0PpJ%2FI0ezuXrI%3D&reserved=0>
 &filter=alltypes&sort=lastpostdesc

 

From: Vincent Burel (VB-Audio) <mailto:vincent.burel@xxxxxxxxxxxx
Sent: Monday, October 15, 2018 12:13 AM
To: 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] ;
De la part de Matthew van Eerde (Redacted sender "Matthew.van.Eerde" for DMARC)
Envoyé : samedi 13 octobre 2018 13:13
À : 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 <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Vincent Burel (VB-Audio) <vincent.burel@xxxxxxxxxxxx>
Sent: Saturday, October 13, 2018 12:14:52 AM
To: 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] ;
De la part de Johannes Freyberger
Envoyé : samedi 13 octobre 2018 08:37
À : 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: