mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-12 16:57:23 -05:00
Fix EDACS Analog Call Preemption Conditions;
This commit is contained in:
@@ -619,15 +619,15 @@ 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
|
||||
//skip 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;
|
||||
goto ENDPV;
|
||||
#endif
|
||||
|
||||
//disable analog calls on UDP Audio Output
|
||||
if (opts->audio_out_type == 8 && command == 0xEE)
|
||||
command = 0;
|
||||
//skip analog calls on UDP Audio Output
|
||||
if (command == 0xEE && opts->audio_out_type == 8)
|
||||
goto ENDPV;
|
||||
|
||||
//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
|
||||
@@ -682,7 +682,9 @@ void edacs(dsd_opts * opts, dsd_state * state)
|
||||
|
||||
} //end Standard or Networked
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
ENDPV:
|
||||
|
||||
fprintf (stderr, "\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user