mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Merges #34 Major redesign of Tuner, Channel and Alias management.
Changes to model, view and controller components and updates all gui editors. Removes the configuration panel and tree and replaces with 3 new panels. Updates playlist.xml to a new playlist_v2.xml format.
This commit is contained in:
@@ -23,12 +23,13 @@ import instrument.tap.TapGroup;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
|
||||
import module.decode.Decoder;
|
||||
import module.decode.DecoderType;
|
||||
import module.decode.config.DecodeConfiguration;
|
||||
import sample.Listener;
|
||||
import sample.real.IRealBufferListener;
|
||||
import sample.real.IUnFilteredRealBufferListener;
|
||||
import sample.real.RealBuffer;
|
||||
import alias.AliasList;
|
||||
import bits.MessageFramer;
|
||||
@@ -36,7 +37,7 @@ import bits.SyncPattern;
|
||||
import dsp.fsk.LTRFSKDecoder;
|
||||
|
||||
public class PassportDecoder extends Decoder
|
||||
implements IRealBufferListener, Instrumentable
|
||||
implements IUnFilteredRealBufferListener, Instrumentable
|
||||
{
|
||||
public static final int PASSPORT_MESSAGE_LENGTH = 68;
|
||||
public static final int PASSPORT_SYNC_LENGTH = 9;
|
||||
@@ -47,8 +48,11 @@ public class PassportDecoder extends Decoder
|
||||
|
||||
private List<TapGroup> mAvailableTaps;
|
||||
|
||||
public PassportDecoder( DecodeConfiguration config,
|
||||
AliasList aliasList )
|
||||
/**
|
||||
* Passport Decoder. Decodes unfiltered (e.g. demodulated but with no DC or
|
||||
* audio filtering) samples and produces Passport messages.
|
||||
*/
|
||||
public PassportDecoder( DecodeConfiguration config, AliasList aliasList )
|
||||
{
|
||||
mPassportFSKDecoder = new LTRFSKDecoder();
|
||||
|
||||
@@ -60,11 +64,11 @@ public class PassportDecoder extends Decoder
|
||||
|
||||
mPassportMessageProcessor = new PassportMessageProcessor( aliasList );
|
||||
mPassportMessageFramer.addMessageListener( mPassportMessageProcessor );
|
||||
mPassportMessageProcessor.setMessageListener( mMessageBroadcaster );
|
||||
mPassportMessageProcessor.setMessageListener( this );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Listener<RealBuffer> getRealBufferListener()
|
||||
public Listener<RealBuffer> getUnFilteredRealBufferListener()
|
||||
{
|
||||
return mPassportFSKDecoder;
|
||||
}
|
||||
@@ -107,7 +111,7 @@ public class PassportDecoder extends Decoder
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start()
|
||||
public void start( ScheduledExecutorService executor )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user