mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Updated spectral display to used dBm scale and removed baseline/amplification items.
Updated sample handling code to use -1.0 to 1.0 float values throughout, to support P25 decoder and symbol filter.
This commit is contained in:
@@ -42,6 +42,8 @@ import decode.mpt1327.MPT1327ChannelState;
|
||||
import decode.mpt1327.MPT1327Decoder;
|
||||
import decode.nbfm.NBFMChannelState;
|
||||
import decode.nbfm.NBFMConventionalDecoder;
|
||||
import decode.p25.P25ChannelState;
|
||||
import decode.p25.P25Decoder;
|
||||
import decode.passport.PassportChannelState;
|
||||
import decode.passport.PassportDecoder;
|
||||
|
||||
@@ -93,6 +95,9 @@ public class DecoderFactory
|
||||
case PASSPORT:
|
||||
retVal = new PassportDecoder( sampleType, aliasList );
|
||||
break;
|
||||
case P25_PHASE1:
|
||||
retVal = new P25Decoder( sampleType, aliasList );
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException(
|
||||
"Unknown decoder type [" +
|
||||
@@ -159,6 +164,9 @@ public class DecoderFactory
|
||||
case PASSPORT:
|
||||
retVal = new PassportChannelState( chain, aliasList );
|
||||
break;
|
||||
case P25_PHASE1:
|
||||
retVal = new P25ChannelState( chain, aliasList );
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user