mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-08-01 13:32:33 -04:00
ATV Demod: avoid infinite recursion in apply settings because of channel marker setting
This commit is contained in:
parent
76a0dc3e2d
commit
1ae2135c3b
@ -310,7 +310,9 @@ void ATVDemodGUI::applySettings()
|
|||||||
<< " m_objATVDemod.sampleRate: " << m_objATVDemod->GetSampleRate();
|
<< " m_objATVDemod.sampleRate: " << m_objATVDemod->GetSampleRate();
|
||||||
|
|
||||||
//m_objChannelMarker.setBandwidth(m_objATVDemod->GetSampleRate()); it is unreliable at this moment
|
//m_objChannelMarker.setBandwidth(m_objATVDemod->GetSampleRate()); it is unreliable at this moment
|
||||||
|
m_blnDoApplySettings = false; // avoid infinite recursion
|
||||||
m_objChannelMarker.setBandwidth(m_objChannelizer->getInputSampleRate());
|
m_objChannelMarker.setBandwidth(m_objChannelizer->getInputSampleRate());
|
||||||
|
m_blnDoApplySettings = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user