-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to adjust the volume of Dota 2 #86
Comments
It only happens for dota, I tried setting my primary output device in dota and made sure VolumeControl using the same device |
That's strange. I wonder if Dota uses the Core Audio APIs directly and is interfering with volume control? Does this also happen when adjusting the volume of Dota in the Windows Volume Mixer, or just when you adjust it through Volume Control? |
I can adjust dota volume in Windows mixer with my mouse easily and I don't know if Dota using Core Audio or no, sorry |
So it seems like Dota is in fact hijacking volume levels while the window is active. I found a few posts on reddit talking about this:
My hypothesis is that Dota is overriding the application volume when active and resetting it when inactive. This would explain why you were able to adjust its volume in the Windows Volume Mixer but not via Volume Control's hotkeys. If I'm correct, you should be able to (temporarily) adjust Dota's application volume in the following cases:
Of course, these changes wouldn't persist when you tab back into the game. If that is the case, Dota is If you have 2 monitors you can test this by putting the volume mixer (either Volume Control or the Windows Volume Mixer) on your second monitor, change Dota's volume, then tab back into Dota. You should see its volume level change without your input. If that doesn't happen, then my hypothesis is probably wrong and we can go from there. However, if I'm correct all you can do is report this to the developers of Dota and hope that they fix it. |
I cannot confirm your words because I tried to launch VolumeControl with admin permissions or without it and I still in-game or alt tabbed cannot control game's volume through the VolumeControl but Windows Mixer allows me to change Dota's volume and when I back in game Dota doesn't override assigned volume through the Windows Mixer and when I set for example 57 in Windows Mixer for dota it stays the same when I alt tab back to the game |
I'll do some testing and try to figure out what's going on when I get the chance. |
I had similar issue with the game Little Nightmares. Adjusting the volume or toggling mute in VolumeControl had no effect on the game audio. I tested your suggestion of having the VolumeControl window and Windows Volume Mixer on a second monitor and adjusting the volume manually. Changing in VolumeControl this way still had no effect. But changing the volume in Windows Volume Mixer for the game worked fine, and did not change back when the game had focus again. One unusual thing I noticed was Windows Volume Mixer showed the application name Little Nightmares (with a space between the words) while the game was minimized, but changed to D3DProxyWindow when the game was focused. While VolumeControl always showed LittleNightmares (with no space). Not sure if this has any relevance. Little Nightmares 2 did not have the same issues, it worked fine with VolumeControl. |
Was unable to reproduce this with Dota 2 on my Windows 10 Enterprise LTSC 21H2 machine, am currently testing with COD Warzone on W11 VM; see #128 |
Closing as this is being continued in #128 |
Version
6.0.4
Windows Version
22H2 22621.2361 Windows 11
Actual Behaviour
Not changing or muting sound
Expected Behaviour
Changing or muting sound
Reproduction Steps
Launch program
Try
Log
No response
The text was updated successfully, but these errors were encountered: