Mute NXDN and P25 ENC

Mute NXDN and P25 ENC by default, but still print frame payloads.
This commit is contained in:
lwvmobile
2022-08-11 10:17:32 -04:00
committed by GitHub
parent 805fdd7583
commit b9223e5207
5 changed files with 33 additions and 10 deletions

View File

@@ -119,8 +119,17 @@ process_IMBE (dsd_opts* opts, dsd_state* state, int* status_count)
#ifdef TRACE_DSD
state->debug_prefix = '\0';
#endif
//check for enc, then always run below step and mute at the point of playing audio so we can still dump the frames
if (state->payload_algid != 0x80)
{
state->dmr_encL = 1;
}
if (state->payload_algid == 0x80)
{
state->dmr_encL = 0;
}
if (state->p25kid == 0 || opts->unmute_encrypted_p25 == 1)
if (1 == 1) //state->p25kid == 0 || opts->unmute_encrypted_p25 == 1
{
{
// Check for a non-standard c0 transmitted