Fix STDIN, file playback, and WAV file creation

Fix STDIN and file playback
set rate out to 8000 when calling for any of these methods
This commit is contained in:
lwvmobile
2022-02-08 18:35:56 -05:00
committed by GitHub
parent 9f0e0adee8
commit c408a57198
7 changed files with 60 additions and 60 deletions

View File

@@ -1054,7 +1054,7 @@ void open_rtlsdr_stream(dsd_opts *opts)
int r;
rtl_bandwidth = opts->rtl_bandwidth * 1000; //multiple by 1000 to get rate
//rtl_bandwidth = 48000;
bandwidth_multiplier = (bandwidth_divisor / rtl_bandwidth); //find multiple with no remainder if oddball number entered
bandwidth_multiplier = (bandwidth_divisor / rtl_bandwidth);
//bandwidth_multiplier = 1;
dongle_init(&dongle);
demod_init(&demod);