mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 04:41:55 -05:00
Sample sink plugins: removed useless init pure virtual method
This commit is contained in:
parent
2136dc7672
commit
3ab855c927
@ -51,11 +51,6 @@ BladerfOutput::~BladerfOutput()
|
||||
m_deviceAPI->setBuddySharedPtr(0);
|
||||
}
|
||||
|
||||
bool BladerfOutput::init(const Message& cmd)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool BladerfOutput::start(int device)
|
||||
{
|
||||
// QMutexLocker mutexLocker(&m_mutex);
|
||||
|
@ -71,7 +71,6 @@ public:
|
||||
BladerfOutput(DeviceSinkAPI *deviceAPI);
|
||||
virtual ~BladerfOutput();
|
||||
|
||||
virtual bool init(const Message& message);
|
||||
virtual bool start(int device);
|
||||
virtual void stop();
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
const PluginDescriptor BladerfOutputPlugin::m_pluginDescriptor = {
|
||||
QString("BladerRF Output"),
|
||||
QString("3.3.3"),
|
||||
QString("3.4.0"),
|
||||
QString("(c) Edouard Griffiths, F4EXB"),
|
||||
QString("https://github.com/f4exb/sdrangel"),
|
||||
true,
|
||||
|
@ -70,11 +70,6 @@ void FileSinkOutput::openFileStream()
|
||||
qDebug() << "FileSinkOutput::openFileStream: " << m_fileName.toStdString().c_str();
|
||||
}
|
||||
|
||||
bool FileSinkOutput::init(const Message& message)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FileSinkOutput::start(int device)
|
||||
{
|
||||
QMutexLocker mutexLocker(&m_mutex);
|
||||
|
@ -151,7 +151,6 @@ public:
|
||||
FileSinkOutput(DeviceSinkAPI *deviceAPI, const QTimer& masterTimer);
|
||||
virtual ~FileSinkOutput();
|
||||
|
||||
virtual bool init(const Message& message);
|
||||
virtual bool start(int device);
|
||||
virtual void stop();
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
const PluginDescriptor FileSinkPlugin::m_pluginDescriptor = {
|
||||
QString("File sink output"),
|
||||
QString("3.3.3"),
|
||||
QString("3.4.0"),
|
||||
QString("(c) Edouard Griffiths, F4EXB"),
|
||||
QString("https://github.com/f4exb/sdrangel"),
|
||||
true,
|
||||
|
@ -53,11 +53,6 @@ HackRFOutput::~HackRFOutput()
|
||||
m_deviceAPI->setBuddySharedPtr(0);
|
||||
}
|
||||
|
||||
bool HackRFOutput::init(const Message& cmd)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool HackRFOutput::start(int device)
|
||||
{
|
||||
// QMutexLocker mutexLocker(&m_mutex);
|
||||
|
@ -71,7 +71,6 @@ public:
|
||||
HackRFOutput(DeviceSinkAPI *deviceAPI);
|
||||
virtual ~HackRFOutput();
|
||||
|
||||
virtual bool init(const Message& message);
|
||||
virtual bool start(int device);
|
||||
virtual void stop();
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
const PluginDescriptor HackRFOutputPlugin::m_pluginDescriptor = {
|
||||
QString("HackRF Output"),
|
||||
QString("3.3.3"),
|
||||
QString("3.4.0"),
|
||||
QString("(c) Edouard Griffiths, F4EXB"),
|
||||
QString("https://github.com/f4exb/sdrangel"),
|
||||
true,
|
||||
|
@ -31,7 +31,6 @@ public:
|
||||
DeviceSampleSink();
|
||||
virtual ~DeviceSampleSink();
|
||||
|
||||
virtual bool init(const Message& cmd) = 0;
|
||||
virtual bool start(int device) = 0;
|
||||
virtual void stop() = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user