mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Fix WebAPI settings for identThreshold and magDecAdjust
This commit is contained in:
parent
41fca9d2fd
commit
1adfe3415c
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user