Disable Audio Smoothing TCP/RTL; Make User Toggle;

This commit is contained in:
lwvmobile
2022-12-23 18:27:13 -05:00
parent e613b85829
commit 324191d79f
6 changed files with 119 additions and 86 deletions

View File

@@ -92,11 +92,7 @@ processAudio (dsd_opts * opts, dsd_state * state)
{
// detect max level
max = 0;
//attempt to reduce crackle by overriding the max value when not using pulse input
if (opts->audio_in_type != 0)
{
max = 3000;
}
state->audio_out_temp_buf_p = state->audio_out_temp_buf;
for (n = 0; n < 160; n++)
{
@@ -238,11 +234,7 @@ processAudioR (dsd_opts * opts, dsd_state * state)
{
// detect max level
max = 0;
//attempt to reduce crackle by overriding the max value when not using pulse input
if (opts->audio_in_type != 0)
{
max = 3000;
}
state->audio_out_temp_buf_pR = state->audio_out_temp_bufR;
for (n = 0; n < 160; n++)
{