mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-16 04:38:57 -04:00
Device source plugins: implemented an init method for initializations to be done when all collaborating objects are created and possibly connected
This commit is contained in:
@@ -173,6 +173,11 @@ bool RTLSDRInput::openDevice()
|
||||
return true;
|
||||
}
|
||||
|
||||
void RTLSDRInput::init()
|
||||
{
|
||||
applySettings(m_settings, true);
|
||||
}
|
||||
|
||||
bool RTLSDRInput::start()
|
||||
{
|
||||
QMutexLocker mutexLocker(&m_mutex);
|
||||
|
||||
@@ -95,6 +95,7 @@ public:
|
||||
virtual ~RTLSDRInput();
|
||||
virtual void destroy();
|
||||
|
||||
virtual void init();
|
||||
virtual bool start();
|
||||
virtual void stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user