mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Device sink API and engine: removed the unused addSource and removeSource methods
This commit is contained in:
parent
fad3ed66b6
commit
d0683110d6
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user