#2305 P25P1 Audio Squeak caused by false sync detection. (#2362)

Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
Denny Sheirer
2026-02-10 03:16:08 -05:00
committed by GitHub
parent a42592daa9
commit de0e722f0c
2 changed files with 6 additions and 8 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
@@ -112,7 +112,6 @@ public class P25P1DemodulatorLSM
double maxTimingAdjustment = samplesPerSymbol / 25;
double pointer, residual, timingAdjustment;
float magnitude, phaseError = 0, requiredGain, softSymbol, pllI, pllQ, pllTemp;
// float previousSymbol = 0;
float iMiddle, qMiddle, iCurrent, qCurrent, iMiddleDemodulated, qMiddleDemodulated, iSymbol, qSymbol;
int offset;
Dibit hardSymbol;

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
@@ -123,13 +123,12 @@ public class P25P1MessageFramer
*/
public void syncDetected()
{
if(mDebugSymbolCount > 2204767)
//Only allow sync detection processing if we're not currently assembling a message
if(mMessageAssembler == null)
{
int a = 0;
mSyncDetected = true;
mNIDPointer = 0;
}
mSyncDetected = true;
mNIDPointer = 0;
}
/**