mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-11 13:24:19 -04:00
Fix WebAPI settings for identThreshold and magDecAdjust
This commit is contained in:
@@ -473,10 +473,10 @@ void VORDemod::webapiFormatChannelSettings(
|
||||
swgVORDemodSettings->setStreamIndex(settings.m_streamIndex);
|
||||
}
|
||||
if (channelSettingsKeys.contains("identThreshold") || force) {
|
||||
swgVORDemodSettings->setAudioMute(settings.m_identThreshold);
|
||||
swgVORDemodSettings->setIdentThreshold(settings.m_identThreshold);
|
||||
}
|
||||
if (channelSettingsKeys.contains("magDecAdjust") || force) {
|
||||
swgVORDemodSettings->setAudioMute(settings.m_magDecAdjust ? 1 : 0);
|
||||
swgVORDemodSettings->setMagDecAdjust(settings.m_magDecAdjust ? 1 : 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user