mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-14 09:47:30 -05:00
Encrypted DMR muted by default now
Encrypted DMR muted by default now; Can be toggled in Terminal; Will still dump payload on request. Fix Bug in DMR Stereo 'muddy sound' caused by appending audio errs to both left and right channel each pass instead of only when using left or right. --will not playback audio or write wav files or mbe files when muted Fix errs and errsR to only append/set in MBE when on that slot, not always
This commit is contained in:
@@ -180,9 +180,12 @@ noCarrier (dsd_opts * opts, dsd_state * state)
|
||||
state->data_p_head[0] = 0;
|
||||
state->data_p_head[1] = 0;
|
||||
|
||||
// state->dmr_so = 0; //let TLC or Voice Burst zero or set this instead?
|
||||
// state->dmr_so = 0; //let TLC or Voice LC/Burst zero or set this instead?
|
||||
// state->dmr_soR = 0;
|
||||
|
||||
state->dmr_encL = 0;
|
||||
state->dmr_encR = 0;
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
@@ -292,6 +295,8 @@ initOpts (dsd_opts * opts)
|
||||
|
||||
opts->lrrp_file_output = 0;
|
||||
|
||||
opts->dmr_mute_encL = 1;
|
||||
opts->dmr_mute_encR = 1;
|
||||
|
||||
}
|
||||
|
||||
@@ -517,6 +522,9 @@ initState (dsd_state * state)
|
||||
|
||||
state->menuopen = 0; //is the ncurses menu open, if so, don't process frame sync
|
||||
|
||||
state->dmr_encL = 0;
|
||||
state->dmr_encR = 0;
|
||||
|
||||
#ifdef TRACE_DSD
|
||||
state->debug_sample_index = 0;
|
||||
state->debug_label_file = NULL;
|
||||
@@ -919,6 +927,13 @@ main (int argc, char **argv)
|
||||
{
|
||||
state.K = 256;
|
||||
}
|
||||
opts.dmr_mute_encL = 0;
|
||||
opts.dmr_mute_encR = 0;
|
||||
if (state.K == 1)
|
||||
{
|
||||
opts.dmr_mute_encL = 1;
|
||||
opts.dmr_mute_encR = 1;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'G': //Set rtl device gain
|
||||
|
||||
Reference in New Issue
Block a user