From c651296378a611064a3f1a47595fed218b785a86 Mon Sep 17 00:00:00 2001 From: Denny Sheirer Date: Sat, 28 Mar 2020 15:33:15 +0000 Subject: [PATCH] Resolves #709 MPT1327 no audio on traffic channels. (#710) Co-authored-by: Denny --- .../module/decode/mpt1327/MPT1327DecoderState.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/dsheirer/module/decode/mpt1327/MPT1327DecoderState.java b/src/main/java/io/github/dsheirer/module/decode/mpt1327/MPT1327DecoderState.java index 8077263d..83b040d2 100644 --- a/src/main/java/io/github/dsheirer/module/decode/mpt1327/MPT1327DecoderState.java +++ b/src/main/java/io/github/dsheirer/module/decode/mpt1327/MPT1327DecoderState.java @@ -280,7 +280,13 @@ public class MPT1327DecoderState extends DecoderState @Override public void start() { - + //Send call start event for traffic channels to unsquelch the audio. Decoded return to channel message + //or fade timeout expire will end the call event. + if(mChannelType == ChannelType.TRAFFIC) + { + //Broadcast a start call event so the squelch kicks on and the audio path opens + broadcast(new DecoderStateEvent(this, Event.START, State.CALL)); + } } @Override