From 56f96103e617abb7e3a9493d126b066696e23194 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 23 Jul 2022 12:28:25 +0200 Subject: [PATCH] FileSink: let the thread start the worker --- plugins/channelrx/filesink/filesink.cpp | 1 - plugins/channelrx/filesink/filesinkbaseband.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/channelrx/filesink/filesink.cpp b/plugins/channelrx/filesink/filesink.cpp index 9ead19672..80319868b 100644 --- a/plugins/channelrx/filesink/filesink.cpp +++ b/plugins/channelrx/filesink/filesink.cpp @@ -177,7 +177,6 @@ void FileSink::start() m_basebandSink->setMessageQueueToGUI(getMessageQueueToGUI()); m_basebandSink->setDeviceHwId(m_deviceAPI->getHardwareId()); m_basebandSink->setDeviceUId(m_deviceAPI->getDeviceUID()); - m_basebandSink->startWork(); m_thread->start(); DSPSignalNotification *dspMsg = new DSPSignalNotification(m_basebandSampleRate, m_centerFrequency); diff --git a/plugins/channelrx/filesink/filesinkbaseband.cpp b/plugins/channelrx/filesink/filesinkbaseband.cpp index 284a37b9b..98841978f 100644 --- a/plugins/channelrx/filesink/filesinkbaseband.cpp +++ b/plugins/channelrx/filesink/filesinkbaseband.cpp @@ -45,7 +45,6 @@ FileSinkBaseband::~FileSinkBaseband() qDebug("FileSinkBaseband::~FileSinkBaseband"); m_inputMessageQueue.clear(); stopWork(); - qDebug("FileSinkBaseband::~FileSinkBaseband: done"); } void FileSinkBaseband::reset()