We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fe9cb2 + 97d4796 commit 0245a43Copy full SHA for 0245a43
2 files changed
source/gui/settingsDialogs.py
@@ -2652,7 +2652,7 @@ def onPanelActivated(self):
2652
2653
def _onSoundVolChange(self, event: wx.Event) -> None:
2654
"""Called when the sound volume follow checkbox is checked or unchecked."""
2655
- wasapi = bool(config.conf["audio"]["WASAPI"])
+ wasapi = nvwave.usingWasapiWavePlayer()
2656
self.soundVolFollowCheckBox.Enable(wasapi)
2657
self.soundVolSlider.Enable(
2658
wasapi
source/nvwave.py
@@ -1070,3 +1070,7 @@ def initialize():
1070
func.restype = HRESULT
1071
func.errcheck = _wasPlay_errcheck
1072
NVDAHelper.localLib.wasPlay_startup()
1073
+
1074
1075
+def usingWasapiWavePlayer() -> bool:
1076
+ return issubclass(WavePlayer, WasapiWavePlayer)
0 commit comments