#2356 Muted audio channel can leak audio

This commit is contained in:
denny
2026-02-09 02:50:28 -05:00
parent c81e6cccfa
commit 185df1735a
2 changed files with 11 additions and 10 deletions

View File

@@ -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;
}