Analog Gain Has Own Variable; Ncurses Keys; Misc;

This commit is contained in:
lwvmobile
2024-03-21 10:12:04 -04:00
parent 0debcc647e
commit eadf3fdf23
4 changed files with 26 additions and 10 deletions

View File

@@ -1425,7 +1425,7 @@ void analog_gain (dsd_opts * opts, dsd_state * state, short * input, int len)
int i;
UNUSED(state);
float gain = 1.0f + (opts->audio_gain / 25.0f);
float gain = (opts->audio_gainA / 100.0f) * 3.0f; //scale 0x - 3x
for (i = 0; i < len; i++)
input[i] *= gain;