mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
P25 - updated automatic and direct frequency control to cleanup the code and allow P25 to better track frequency and PPM changes in the tuner and provide a cleaner implementation of the AFC component in the processing chain of all of the other decoders.
Changed C4FM symbol filter to reset frequency tracking values when the tuner's frequency or PPM values change. Moved all frequency control pieces into the source.tuner.frequency package.
This commit is contained in:
@@ -32,6 +32,7 @@ import bits.MessageFramer;
|
||||
import bits.SyncPattern;
|
||||
import decode.Decoder;
|
||||
import decode.DecoderType;
|
||||
import decode.config.DecodeConfiguration;
|
||||
import dsp.filter.DCRemovalFilter2;
|
||||
import dsp.fsk.LTRFSKDecoder;
|
||||
import dsp.nbfm.FilteringNBFMDemodulator;
|
||||
@@ -55,9 +56,11 @@ public class PassportDecoder extends Decoder implements Instrumentable
|
||||
|
||||
private List<Tap> mAvailableTaps;
|
||||
|
||||
public PassportDecoder( SampleType sampleType, AliasList aliasList )
|
||||
public PassportDecoder( DecodeConfiguration config,
|
||||
SampleType sampleType,
|
||||
AliasList aliasList )
|
||||
{
|
||||
super( sampleType );
|
||||
super( config, sampleType );
|
||||
|
||||
/**
|
||||
* Only setup a demod chain if we're receiving complex samples. If
|
||||
|
||||
Reference in New Issue
Block a user