1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -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:
f4exb
2017-12-25 09:10:19 +01:00
parent c732fe3862
commit 49d1439981
30 changed files with 112 additions and 69 deletions
@@ -364,6 +364,11 @@ void LimeSDRInput::releaseChannel()
m_channelAcquired = false;
}
void LimeSDRInput::init()
{
applySettings(m_settings, true, false);
}
bool LimeSDRInput::start()
{
if (!m_deviceShared.m_deviceParams->getDevice()) {
@@ -208,6 +208,7 @@ public:
virtual ~LimeSDRInput();
virtual void destroy();
virtual void init();
virtual bool start();
virtual void stop();