mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Adds automatic gain control to P25 C4FM decoder to condition the
samples prior to interpolation. Resolves issue with using incorrect quadrature index when pulling a sample from the interpolating buffer. Resolves issue where the instrumented version of the interpolating buffer was being constructed in the non-interpolated decoder component.
This commit is contained in:
@@ -130,7 +130,7 @@ public class InterpolatingSampleBuffer
|
||||
*/
|
||||
public Complex getPrecedingSample()
|
||||
{
|
||||
mPrecedingSample.setValues(mDelayLineInphase[mDelayLinePointer + 4], mDelayLineQuadrature[mDelayLinePointer + 3]);
|
||||
mPrecedingSample.setValues(mDelayLineInphase[mDelayLinePointer + 3], mDelayLineQuadrature[mDelayLinePointer + 3]);
|
||||
return mPrecedingSample;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user