mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Adds support to channel model and processing manager to auto-start
channels upon loading the playlist. Processing manager now detects channel configuration changes and restarts the channel if it is currently processing. Channel editor enable button now shows green if it is processing, or default when not processing.
This commit is contained in:
@@ -13,6 +13,7 @@ import module.decode.config.DecodeConfiguration;
|
||||
import net.miginfocom.swing.MigLayout;
|
||||
import playlist.PlaylistManager;
|
||||
import source.IControllableFileSource;
|
||||
import controller.ThreadPoolManager;
|
||||
import controller.channel.ChannelModel;
|
||||
|
||||
public class DecoderSelectionFrame extends JInternalFrame
|
||||
@@ -29,7 +30,10 @@ public class DecoderSelectionFrame extends JInternalFrame
|
||||
IControllableFileSource source )
|
||||
{
|
||||
ChannelModel channelModel = new ChannelModel();
|
||||
mPlaylistManager = new PlaylistManager( channelModel );
|
||||
|
||||
ThreadPoolManager tpm = new ThreadPoolManager();
|
||||
|
||||
mPlaylistManager = new PlaylistManager( tpm, channelModel );
|
||||
|
||||
mDesktop = desktop;
|
||||
mSource = source;
|
||||
|
||||
Reference in New Issue
Block a user