diff --git a/sdrbase/device/devicesinkapi.cpp b/sdrbase/device/devicesinkapi.cpp index f21e19997..382c66152 100644 --- a/sdrbase/device/devicesinkapi.cpp +++ b/sdrbase/device/devicesinkapi.cpp @@ -53,16 +53,6 @@ void DeviceSinkAPI::removeSpectrumSink(BasebandSampleSink* spectrumSink) m_deviceSinkEngine->removeSpectrumSink(spectrumSink); } -void DeviceSinkAPI::addSource(BasebandSampleSource *source) -{ - m_deviceSinkEngine->addSource(source); -} - -void DeviceSinkAPI::removeSource(BasebandSampleSource* source) -{ - m_deviceSinkEngine->removeSource(source); -} - void DeviceSinkAPI::addThreadedSource(ThreadedBasebandSampleSource* source) { m_deviceSinkEngine->addThreadedSource(source); diff --git a/sdrbase/device/devicesinkapi.h b/sdrbase/device/devicesinkapi.h index aa5034512..b5d2fb541 100644 --- a/sdrbase/device/devicesinkapi.h +++ b/sdrbase/device/devicesinkapi.h @@ -45,7 +45,6 @@ public: // Device engine stuff void addSpectrumSink(BasebandSampleSink* sink); //!< Add the spectrum sample sink to device engine (spectrum vis) void removeSpectrumSink(BasebandSampleSink* sink); //!< Remove the spectrum sample sink from device engine (spectrum vis) - void addSource(BasebandSampleSource* source); //!< Add a baseband sample source to device engine void removeSource(BasebandSampleSource* sink); //!< Remove a baseband sample source from device engine void addThreadedSource(ThreadedBasebandSampleSource* sink); //!< Add a baseband sample source that will run on its own thread to device engine void removeThreadedSource(ThreadedBasebandSampleSource* sink); //!< Remove a baseband sample source that runs on its own thread from device engine diff --git a/sdrbase/dsp/dspdevicesinkengine.cpp b/sdrbase/dsp/dspdevicesinkengine.cpp index dcf5f0f2b..8cb999c22 100644 --- a/sdrbase/dsp/dspdevicesinkengine.cpp +++ b/sdrbase/dsp/dspdevicesinkengine.cpp @@ -113,20 +113,6 @@ void DSPDeviceSinkEngine::setSinkSequence(int sequence) m_sampleSinkSequence = sequence; } -void DSPDeviceSinkEngine::addSource(BasebandSampleSource* source) -{ - qDebug() << "DSPDeviceSinkEngine::addSource: " << source->objectName().toStdString().c_str(); - DSPAddBasebandSampleSource cmd(source); - m_syncMessenger.sendWait(cmd); -} - -void DSPDeviceSinkEngine::removeSource(BasebandSampleSource* source) -{ - qDebug() << "DSPDeviceSinkEngine::removeSource: " << source->objectName().toStdString().c_str(); - DSPRemoveBasebandSampleSource cmd(source); - m_syncMessenger.sendWait(cmd); -} - void DSPDeviceSinkEngine::addThreadedSource(ThreadedBasebandSampleSource* source) { qDebug() << "DSPDeviceSinkEngine::addThreadedSource: " << source->objectName().toStdString().c_str(); diff --git a/sdrbase/dsp/dspdevicesinkengine.h b/sdrbase/dsp/dspdevicesinkengine.h index a4ecc9894..be14385fc 100644 --- a/sdrbase/dsp/dspdevicesinkengine.h +++ b/sdrbase/dsp/dspdevicesinkengine.h @@ -67,9 +67,6 @@ public: DeviceSampleSink *getSink() { return m_deviceSampleSink; } void setSinkSequence(int sequence); //!< Set the sample sink sequence in type - void addSource(BasebandSampleSource* source); //!< Add a baseband sample source - void removeSource(BasebandSampleSource* source); //!< Remove a baseband sample source - void addThreadedSource(ThreadedBasebandSampleSource* source); //!< Add a baseband sample source that will run on its own thread void removeThreadedSource(ThreadedBasebandSampleSource* source); //!< Remove a baseband sample source that runs on its own thread