Fix Bug w/ Manual Gain in Ncurses;

This commit is contained in:
lwvmobile 2023-08-03 10:43:57 -04:00
parent d91c44f6f3
commit d4740550e4
1 changed files with 4 additions and 0 deletions

View File

@ -3533,6 +3533,8 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
state->aout_gain = opts->audio_gain;
state->aout_gainR = opts->audio_gain;
opts->audio_gainR = opts->audio_gain;
}
if (c == 45) //- key, decrement audio_gain
@ -3551,6 +3553,8 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
state->aout_gainR = 25;
}
opts->audio_gainR = opts->audio_gain;
}
if (c == 122) //'z' key, toggle payload to console