1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05: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();
applySettings(m_settings, true);
// start / stop streaming is done in the thread.
if ((m_limeSDRInputThread = new LimeSDRInputThread(&m_streamId, &m_sampleFifo)) == 0)

View File

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