Skip to content

Commit bca828c

Browse files
sthibaulgregkh
authored andcommitted
speakup-dectlk: Restore pitch setting
d97a9d7 ("staging/speakup: Add inflection synth parameter") introduced the inflection parameter, but happened to drop the pitch parameter from the dectlk driver. This restores it. Cc: [email protected] Fixes: d97a9d7 ("staging/speakup: Add inflection synth parameter") Signed-off-by: Samuel Thibault <[email protected]> Link: https://lore.kernel.org/r/20220206015626.aesbhvvdkmqsrbaw@begin Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 05daa80 commit bca828c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/accessibility/speakup/speakup_dectlk.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ static struct var_t vars[] = {
4444
{ CAPS_START, .u.s = {"[:dv ap 160] " } },
4545
{ CAPS_STOP, .u.s = {"[:dv ap 100 ] " } },
4646
{ RATE, .u.n = {"[:ra %d] ", 180, 75, 650, 0, 0, NULL } },
47+
{ PITCH, .u.n = {"[:dv ap %d] ", 122, 50, 350, 0, 0, NULL } },
4748
{ INFLECTION, .u.n = {"[:dv pr %d] ", 100, 0, 10000, 0, 0, NULL } },
4849
{ VOL, .u.n = {"[:dv g5 %d] ", 86, 60, 86, 0, 0, NULL } },
4950
{ PUNCT, .u.n = {"[:pu %c] ", 0, 0, 2, 0, 0, "nsa" } },

0 commit comments

Comments
 (0)