Resolves issue with scheduled thread pool overtasking. Removes tuner

channel source decimation processing over to its own thread pool.
This commit is contained in:
denny
2016-02-15 08:42:29 -05:00
parent e7d3713791
commit e2a0451bfb
16 changed files with 62 additions and 58 deletions

View File

@@ -64,9 +64,8 @@ public class Recording implements Comparable<Recording>,
}
@Override
public TunerChannelSource getChannel( ThreadPoolManager threadPoolManager,
TunerChannel channel ) throws RejectedExecutionException,
SourceException
public TunerChannelSource getChannel( TunerChannel channel )
throws RejectedExecutionException, SourceException
{
// TODO Auto-generated method stub
return null;

View File

@@ -41,13 +41,10 @@ public class RecordingSourceManager
private ArrayList<Recording> mRecordings = new ArrayList<Recording>();
private SettingsManager mSettingsManager;
private ThreadPoolManager mThreadPoolManager;
public RecordingSourceManager( SettingsManager settingsManager,
ThreadPoolManager threadPoolManager )
public RecordingSourceManager( SettingsManager settingsManager )
{
mSettingsManager = settingsManager;
mThreadPoolManager = threadPoolManager;
loadRecordings();
}
@@ -73,7 +70,7 @@ public class RecordingSourceManager
if( recording != null )
{
retVal = recording.getChannel( mThreadPoolManager, tunerChannel );
retVal = recording.getChannel( tunerChannel );
}
else
{