Disable RTL RMS Function on ARM Devices (RPi);

This commit is contained in:
lwvmobile
2023-08-19 20:58:30 -04:00
parent 755f77f96c
commit 55e792a925
3 changed files with 15 additions and 0 deletions

View File

@@ -1305,6 +1305,12 @@ if (opts->audio_in_type == 1)
open_rtlsdr_stream(opts);
opts->rtl_started = 1; //set here so ncurses terminal doesn't attempt to open it again
#ifdef __arm__
fprintf (stderr, "WARNING: RMS Function is Disabled on ARM Devices (Raspberry Pi) due to High CPU use. \n");
fprintf (stderr, "RMS/Squelch Functionality for NXDN, dPMR, EDACS Analog, M17 and Raw Audio Monitor are unavailable and these modes will not function properly. \n");
if (opts->monitor_input_audio == 1) opts->monitor_input_audio = 0;
opts->rtl_squelch_level = 0;
#endif
}
#endif