From ed68f41f0e5d43fbcd6d927de45d0b8a303c4623 Mon Sep 17 00:00:00 2001 From: lwvmobile <59371473+lwvmobile@users.noreply.github.com> Date: Fri, 13 May 2022 16:22:35 -0400 Subject: [PATCH] Revert STDIN Audio Output Revert STDIN Audio Output --Revert back to 8K/1 for normal due to occasional crackling that resulted from upscaling audio to 48k when using stdin, mbe, and rtl. --Still need to investigate the root cause of this issue. --- src/dsd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsd_main.c b/src/dsd_main.c index 0c07220..df02d8d 100644 --- a/src/dsd_main.c +++ b/src/dsd_main.c @@ -515,7 +515,7 @@ liveScanner (dsd_opts * opts, dsd_state * state) //probably need to dig a little deeper, maybe inlvl releated? if (opts->audio_in_type == 1) { - opts->pulse_digi_rate_out = 48000; //change to 48K/1 for STDIN input + opts->pulse_digi_rate_out = 8000; //revert to 8K/1 for STDIN input, sometimes crackles when upsampling opts->pulse_digi_out_channels = 1; if (opts->dmr_stereo == 1) {