Disable RTL RMS Function on ARM Devices (RPi);

This commit is contained in:
lwvmobile
2023-08-19 20:48:34 -04:00
parent 6ab2f69111
commit b2f6b158e3
3 changed files with 15 additions and 0 deletions

View File

@@ -612,6 +612,11 @@ void edacs(dsd_opts * opts, dsd_state * state)
else
fprintf (stderr, " Digital");
//disable analog calls on RTL Input on ARM devices due to High CPU usage from RTL RMS function
#ifdef __arm__
if (command == 0xEE && opts->audio_in_type == 3)
command = 0;
#endif
//this is working now with the new import setup
if (opts->p25_trunk == 1 && (strcmp(mode, "DE") != 0) && (strcmp(mode, "B") != 0) ) //DE is digital encrypted, B is block