P25p2 -- Slot ON/OFF During Realtime Tuning;

This commit is contained in:
lwvmobile
2023-10-06 10:43:13 -04:00
parent d073e7cae8
commit 84df9bbca7
6 changed files with 195 additions and 0 deletions

View File

@@ -238,6 +238,20 @@ void processTSBK(dsd_opts * opts, dsd_state * state)
{
state->samplesPerSymbol = 8;
state->symbolCenter = 3;
//shim fix to stutter/lag by only enabling slot on the target/channel we tuned to
//this will only occur in realtime tuning, not not required .bin or .wav playback
if (channel & 1) //VCH1
{
opts->slot1_on = 0;
opts->slot2_on = 1;
}
else //VCH0
{
opts->slot1_on = 1;
opts->slot2_on = 0;
}
}
}
//rigctl