1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-09-03 21:57:51 -04:00

LimeSDR input: force apply settings on start

This commit is contained in:
f4exb 2017-05-13 14:35:12 +02:00
parent f57eecee86
commit 154f22d268
2 changed files with 3 additions and 1 deletions

View File

@ -284,6 +284,8 @@ bool LimeSDRInput::start()
if (m_running) stop(); if (m_running) stop();
applySettings(m_settings, true);
// start / stop streaming is done in the thread. // start / stop streaming is done in the thread.
if ((m_limeSDRInputThread = new LimeSDRInputThread(&m_streamId, &m_sampleFifo)) == 0) if ((m_limeSDRInputThread = new LimeSDRInputThread(&m_streamId, &m_sampleFifo)) == 0)

View File

@ -227,7 +227,7 @@ private:
void closeDevice(); void closeDevice();
void suspendBuddies(); void suspendBuddies();
void resumeBuddies(); void resumeBuddies();
bool applySettings(const LimeSDRInputSettings& settings, bool force); bool applySettings(const LimeSDRInputSettings& settings, bool force = false);
}; };
#endif /* PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUT_H_ */ #endif /* PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUT_H_ */