mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
#2356 Muted audio channel can leak audio
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* *****************************************************************************
|
||||
* Copyright (C) 2014-2025 Dennis Sheirer
|
||||
* Copyright (C) 2014-2026 Dennis Sheirer
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -75,7 +75,6 @@ public class P25P1MessageFramer
|
||||
private int mDetectedSyncBitErrors = 0;
|
||||
private final P25P1ChannelStatusProcessor mChannelStatusProcessor = new P25P1ChannelStatusProcessor();
|
||||
private PDUSequence mPDUSequence;
|
||||
private int mDebugSymbolCount = 0;
|
||||
|
||||
/**
|
||||
* Constructs an instance
|
||||
@@ -123,11 +122,6 @@ public class P25P1MessageFramer
|
||||
*/
|
||||
public void syncDetected()
|
||||
{
|
||||
if(mDebugSymbolCount > 2204767)
|
||||
{
|
||||
int a = 0;
|
||||
}
|
||||
|
||||
mSyncDetected = true;
|
||||
mNIDPointer = 0;
|
||||
}
|
||||
@@ -687,7 +681,6 @@ public class P25P1MessageFramer
|
||||
*/
|
||||
private void broadcast(IMessage message)
|
||||
{
|
||||
// System.out.println("Symbols: " + mDebugSymbolCount);
|
||||
if(mRunning && message != null && mMessageListener != null)
|
||||
{
|
||||
mMessageListener.receive(message);
|
||||
@@ -845,7 +838,6 @@ public class P25P1MessageFramer
|
||||
//flag it as invalid NID when this happens. The NAC tracker will give us a value of 0 until it has enough
|
||||
//observations of a valid NID value.
|
||||
mNACTracker.track(nac);
|
||||
// System.out.println("\t\t" + mDebugSymbolCount + " VALID NID - NAC:" + nac + " DUID:" + duid);
|
||||
nidDetected(nac, duid, nid.getCorrectedBitCount());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user