mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Resolves issue with scheduled thread pool overtasking. Removes tuner
channel source decimation processing over to its own thread pool.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user