1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Local Sink: updated API and documentation

This commit is contained in:
f4exb
2022-12-17 06:26:58 +01:00
parent edf464d987
commit 8c84d4a456
20 changed files with 776 additions and 14 deletions
+4 -1
View File
@@ -4403,7 +4403,9 @@ bool WebAPIRequestMapper::getChannelSettings(
{
QJsonObject settingsJsonObject = channelSettingsJson[channelSettingsKey].toObject();
extractKeys(settingsJsonObject, channelSettingsKeys);
qDebug() << "WebAPIRequestMapper::getChannelSettings: channelSettingsKeys: " << channelSettingsKeys;
qDebug() << "WebAPIRequestMapper::getChannelSettings:"
<< " channelSettingsKey: " << channelSettingsKey
<< " channelSettingsKeys: " << channelSettingsKeys;
if (channelSettingsKey == "ADSBDemodSettings")
{
@@ -4559,6 +4561,7 @@ bool WebAPIRequestMapper::getChannelSettings(
else if (channelSettingsKey == "LocalSinkSettings")
{
channelSettings->setLocalSinkSettings(new SWGSDRangel::SWGLocalSinkSettings());
channelSettings->getLocalSinkSettings()->init(); // contains a QList
channelSettings->getLocalSinkSettings()->fromJsonObject(settingsJsonObject);
}
else if (channelSettingsKey == "LocalSourceSettings")