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:
parent
f57eecee86
commit
154f22d268
@ -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)
|
||||||
|
@ -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_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user