Tweak Float Auto Gain; Make User Configurable;

This commit is contained in:
lwvmobile
2023-07-26 07:21:25 -04:00
parent cdc0d9e012
commit 676027a56f
9 changed files with 136 additions and 56 deletions

View File

@@ -950,6 +950,13 @@ void nxdn_message_type (dsd_opts * opts, dsd_state * state, uint8_t MessageType)
memset (state->nxdn_sacch_frame_segment, 1, sizeof(state->nxdn_sacch_frame_segment));
sprintf (state->nxdn_call_type, "%s", "");
}
if (MessageType == 0x07 ||MessageType == 0x08 || MessageType == 0x11)
{
//reset gain
if (opts->floating_point == 1)
state->aout_gain = opts->audio_gain;
}
}