mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Adds an AM Demodulator to the list of available decoders.
This commit is contained in:
@@ -404,6 +404,7 @@ public class ProcessingChain implements Listener<Message>
|
||||
}
|
||||
|
||||
if( mSource instanceof TunerChannelSource &&
|
||||
mChannel.getDecodeConfiguration().supportsAFC() &&
|
||||
mChannel.getDecodeConfiguration().isAFCEnabled() )
|
||||
{
|
||||
TunerChannelSource tcs = (TunerChannelSource)mSource;
|
||||
|
||||
@@ -39,6 +39,8 @@ import controller.channel.Channel;
|
||||
import controller.channel.Channel.ChannelType;
|
||||
import controller.channel.ChannelEvent;
|
||||
import controller.channel.ChannelEventListener;
|
||||
import decode.am.AMChannelState;
|
||||
import decode.am.AMPanel;
|
||||
import decode.fleetsync2.FleetsyncChannelState;
|
||||
import decode.fleetsync2.FleetsyncPanel;
|
||||
import decode.ltrnet.LTRNetChannelState;
|
||||
@@ -139,8 +141,12 @@ public class ChannelStateList extends JPanel implements ChannelEventListener
|
||||
ChannelState state = channel.getProcessingChain().getChannelState();
|
||||
|
||||
ChannelStatePanel panel = null;
|
||||
|
||||
if( state instanceof NBFMChannelState )
|
||||
|
||||
if( state instanceof AMChannelState )
|
||||
{
|
||||
panel = new AMPanel( channel );
|
||||
}
|
||||
else if( state instanceof NBFMChannelState )
|
||||
{
|
||||
NBFMChannelState convState =
|
||||
(NBFMChannelState)state;
|
||||
|
||||
Reference in New Issue
Block a user