mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 03:02:29 -04:00
Removed start threaded sink from device engine
This commit is contained in:
parent
77ba4dac60
commit
b281a63f08
@ -615,12 +615,14 @@ void DSPDeviceSinkEngine::handleSynchronousMessages()
|
|||||||
// kv.first = threadedSource;
|
// kv.first = threadedSource;
|
||||||
// (threadedSource->getSampleSourceFifo()).getReadIterator(kv.second);
|
// (threadedSource->getSampleSourceFifo()).getReadIterator(kv.second);
|
||||||
// m_threadedBasebandSampleSourcesIteratorMap.insert(kv);
|
// m_threadedBasebandSampleSourcesIteratorMap.insert(kv);
|
||||||
threadedSource->start();
|
// threadedSource->start();
|
||||||
}
|
}
|
||||||
else if (DSPRemoveThreadedSampleSource::match(*message))
|
else if (DSPRemoveThreadedSampleSource::match(*message))
|
||||||
{
|
{
|
||||||
ThreadedBasebandSampleSource* threadedSource = ((DSPRemoveThreadedSampleSource*) message)->getThreadedSampleSource();
|
ThreadedBasebandSampleSource* threadedSource = ((DSPRemoveThreadedSampleSource*) message)->getThreadedSampleSource();
|
||||||
threadedSource->stop();
|
if (m_state == StRunning) {
|
||||||
|
threadedSource->stop();
|
||||||
|
}
|
||||||
// not used with sample by sample processing
|
// not used with sample by sample processing
|
||||||
// m_threadedBasebandSampleSourcesIteratorMap.erase(threadedSource);
|
// m_threadedBasebandSampleSourcesIteratorMap.erase(threadedSource);
|
||||||
m_threadedBasebandSampleSources.remove(threadedSource);
|
m_threadedBasebandSampleSources.remove(threadedSource);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user