Skip to content

Commit 734cad2

Browse files
authored
Merge aa91895 into c85254b
2 parents c85254b + aa91895 commit 734cad2

4 files changed

Lines changed: 23 additions & 3 deletions

File tree

source/globalCommands.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,6 +2972,16 @@ def script_activateBrailleDisplayDialog(self, gesture):
29722972
def script_activateBrailleSettingsDialog(self, gesture):
29732973
wx.CallAfter(gui.mainFrame.onBrailleSettingsCommand, None)
29742974

2975+
@script(
2976+
# Translators: Input help mode message for go to audio settings command.
2977+
description=_("Shows NVDA's audio settings"),
2978+
category=SCRCAT_CONFIG,
2979+
gesture="kb:NVDA+control+u"
2980+
)
2981+
@gui.blockAction.when(gui.blockAction.Context.MODAL_DIALOG_OPEN)
2982+
def script_activateAudioSettingsDialog(self, gesture):
2983+
wx.CallAfter(gui.mainFrame.onAudioSettingsCommand, None)
2984+
29752985
@script(
29762986
# Translators: Input help mode message for go to keyboard settings command.
29772987
description=_("Shows NVDA's keyboard settings"),

source/gui/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
# Be careful when removing, and only do in a compatibility breaking release.
4444
from .exit import ExitDialog
4545
from .settingsDialogs import (
46+
AudioPanel,
4647
BrailleDisplaySelectionDialog,
4748
BrailleSettingsPanel,
4849
BrowseModePanel,
@@ -297,6 +298,9 @@ def onSelectBrailleDisplayCommand(self,evt):
297298
def onBrailleSettingsCommand(self,evt):
298299
self.popupSettingsDialog(NVDASettingsDialog, BrailleSettingsPanel)
299300

301+
def onAudioSettingsCommand(self, evt: wx.CommandEvent):
302+
self.popupSettingsDialog(NVDASettingsDialog, AudioPanel)
303+
300304
def onKeyboardSettingsCommand(self,evt):
301305
self.popupSettingsDialog(NVDASettingsDialog, KeyboardSettingsPanel)
302306

user_docs/en/changes.t2t

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ There's also been bug fixes for the Add-on Store, Microsoft Office, Microsoft Ed
1919

2020
== New Features ==
2121
- Enhanced sound management:
22-
- An option in Audio settings to have the volume of NVDA sounds and beeps follow the volume setting of the voice you are using. (#1409)
23-
- An option in Audio settings to separately configure the volume of NVDA sounds. (#1409, #15038)
22+
- A new Audio Settings panel:
23+
- This can be opened with ``NVDA+control+u``. (#15497)
24+
- An option in Audio settings to have the volume of NVDA sounds and beeps follow the volume setting of the voice you are using. (#1409)
25+
- An option in Audio settings to separately configure the volume of NVDA sounds. (#1409, #15038)
26+
- The settings to change audio output device and toggle audio ducking have been moved to the new Audio settings panel from the Select Synthesizer dialog. (#8711)
27+
-
2428
- NVDA will now output audio via the Windows Audio Session API (WASAPI), which may improve the responsiveness, performance and stability of NVDA speech and sounds. (#14697, #11169, #11615, #5096, #10185, #11061)
2529
- Note: WASAPI is incompatible with some add-ons.
2630
Compatible updates are available for these add-ons, please update them before updating NVDA.
@@ -54,7 +58,6 @@ There's also been bug fixes for the Add-on Store, Microsoft Office, Microsoft Ed
5458
- The advanced setting to enable support for HID braille has been removed in favor of a new option.
5559
You can now disable specific drivers for braille display auto detection in the braille display selection dialog. (#15196)
5660
-
57-
- The settings to change audio output device and toggle audio ducking have been moved to the new Audio settings panel from the Select Synthesizer dialog. (#8711)
5861
- Add-on Store: Installed add-ons will now be listed in the Available Add-ons tab, if they are available in the store. (#15374)
5962
- Some shortcut keys have been updated in the NVDA menu. (#15364)
6063
-

user_docs/en/userGuide.t2t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,7 +1770,10 @@ Please note: If you connect multiple Braille Displays to your machine at the sam
17701770
it is currently impossible to tell NVDA which display to use.
17711771
Therefore it is recommended to only connect one Braille Display of a given type / manufacturer to your machine at a time.
17721772

1773+
%kc:setting
17731774
+++ Audio +++[AudioSettings]
1775+
Key: ``NVDA+control+u``
1776+
17741777
The Audio category in the NVDA Settings dialog contains options that let you change several aspects of audio output.
17751778

17761779
==== Output device ====[SelectSynthesizerOutputDevice]

0 commit comments

Comments
 (0)