mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
SSM modulator: lock mutex when size of magnitude AGC is changed
This commit is contained in:
parent
24080bafd3
commit
d6519d7133
@ -728,7 +728,9 @@ void SSBMod::applySettings(const SSBModSettings& settings, bool force)
|
||||
if ((settings.m_agcTime != m_settings.m_agcTime) ||
|
||||
(settings.m_agcOrder != m_settings.m_agcOrder) || force)
|
||||
{
|
||||
m_settingsMutex.lock();
|
||||
m_inAGC.resize(settings.m_agcTime, settings.m_agcOrder);
|
||||
m_settingsMutex.unlock();
|
||||
}
|
||||
|
||||
if ((settings.m_agcThresholdEnable != m_settings.m_agcThresholdEnable) || force)
|
||||
|
Loading…
Reference in New Issue
Block a user