mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 00:57:31 -05:00
Refactoring to use COMPLEX and REAL sample terms throughout
This commit is contained in:
@@ -77,10 +77,10 @@ public class DecoderViewFrame extends JInternalFrame
|
||||
{
|
||||
mLog.error( "Hey, we're not wired up yet for complex" );
|
||||
}
|
||||
else if( source.getSampleType() == SampleType.FLOAT )
|
||||
else if( source.getSampleType() == SampleType.REAL )
|
||||
{
|
||||
FloatWaveSource fws = (FloatWaveSource)mWaveSource;
|
||||
fws.setListener( mDecoder.getSimplexReceiver() );
|
||||
fws.setListener( mDecoder.getRealReceiver() );
|
||||
}
|
||||
|
||||
mDecoder.addMessageListener( this );
|
||||
|
||||
@@ -145,19 +145,19 @@ public class WaveSourceFrame extends JInternalFrame implements PositionListener
|
||||
decoder = new Fleetsync2Decoder( null );
|
||||
break;
|
||||
case LTR_NET:
|
||||
decoder = new LTRNetDecoder( SampleType.FLOAT, null, MessageDirection.OSW );
|
||||
decoder = new LTRNetDecoder( SampleType.REAL, null, MessageDirection.OSW );
|
||||
break;
|
||||
case MDC1200:
|
||||
decoder = new MDCDecoder( null );
|
||||
break;
|
||||
case MPT1327:
|
||||
decoder = new MPT1327Decoder( SampleType.FLOAT, null, Sync.NORMAL );
|
||||
decoder = new MPT1327Decoder( SampleType.REAL, null, Sync.NORMAL );
|
||||
break;
|
||||
case PASSPORT:
|
||||
decoder = new PassportDecoder( SampleType.FLOAT, null );
|
||||
decoder = new PassportDecoder( SampleType.REAL, null );
|
||||
break;
|
||||
case P25:
|
||||
decoder = new P25Decoder( SampleType.FLOAT, null );
|
||||
decoder = new P25Decoder( SampleType.REAL, null );
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user