Add message to Sound and Audio program.
This commit is contained in:
@@ -24,9 +24,10 @@ except Exception:
|
|||||||
FEEDBACK_SOUND = "/usr/share/sounds/stormux/menu_move.wav"
|
FEEDBACK_SOUND = "/usr/share/sounds/stormux/menu_move.wav"
|
||||||
TEST_SOUND = "/usr/share/sounds/stormux/menu_select.wav"
|
TEST_SOUND = "/usr/share/sounds/stormux/menu_select.wav"
|
||||||
HELP_TEXT = (
|
HELP_TEXT = (
|
||||||
"Use left and right to move between controls. "
|
"Use left and right arrows to select a control. "
|
||||||
"Use up and down to change the selected control. "
|
"Use up and down arrows to adjust it. "
|
||||||
"Press space to hear the current value. "
|
"Press space to read the current value. "
|
||||||
|
"Press h to hear this help again. "
|
||||||
"Press enter to confirm a pending device change or apply the selected device. "
|
"Press enter to confirm a pending device change or apply the selected device. "
|
||||||
"Press escape or q to exit."
|
"Press escape or q to exit."
|
||||||
)
|
)
|
||||||
@@ -556,7 +557,11 @@ class AudioManagerApp:
|
|||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.speak("Stormux audio manager")
|
self.speak(
|
||||||
|
"Sound and Volume. Use left and right arrows to select, "
|
||||||
|
"up and down arrows to adjust, and space to read the current value. "
|
||||||
|
"Press h for help."
|
||||||
|
)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
if pending_change_expired(self.pending_change):
|
if pending_change_expired(self.pending_change):
|
||||||
|
|||||||
Reference in New Issue
Block a user