mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Updated LTR Standard decoder state to new architecture to support
per-call recording and accurate state tracking. Resolved issue with ThreadPoolManager limiting total number of scheduled tasks (removed limiter - original intent is now OBE) Updated ChannelState to better handle auxiliary decoder decode events, so that when a fleetsync ident is at the end of the transmission, the decode doesn't kick the channel back into a call state after it has faded, causing static bursts and additional empty recordings. Updated recording file name to include millisecond level precision, to further avoid duplicate recording names
This commit is contained in:
@@ -43,6 +43,8 @@ public class Fleetsync2DecoderState extends DecoderState
|
||||
|
||||
private String mMessage;
|
||||
private String mMessageType;
|
||||
|
||||
private long mFrequency;
|
||||
|
||||
public Fleetsync2DecoderState( AliasList aliasList )
|
||||
{
|
||||
@@ -158,14 +160,14 @@ public class Fleetsync2DecoderState extends DecoderState
|
||||
}
|
||||
|
||||
FleetsyncCallEvent fsCallEvent =
|
||||
FleetsyncCallEvent.getFleetsync2Event( fleetsync );
|
||||
FleetsyncCallEvent.getFleetsync2Event( fleetsync, mFrequency );
|
||||
|
||||
fsCallEvent.setAliasList( getAliasList() );
|
||||
|
||||
broadcast( fsCallEvent );
|
||||
|
||||
/* Broadcast decode event so that the channel state will
|
||||
* kick in and reset everything */
|
||||
* kick in and reset everything after a short delay */
|
||||
broadcast( new DecoderStateEvent( this, Event.DECODE, state ) );
|
||||
}
|
||||
}
|
||||
@@ -248,6 +250,9 @@ public class Fleetsync2DecoderState extends DecoderState
|
||||
case RESET:
|
||||
resetState();
|
||||
break;
|
||||
case SOURCE_FREQUENCY:
|
||||
mFrequency = event.getFrequency();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user