mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Add DAB demodulator
This commit is contained in:
@@ -3871,6 +3871,11 @@ bool WebAPIRequestMapper::getChannelSettings(
|
||||
channelSettings->setDatvModSettings(new SWGSDRangel::SWGDATVModSettings());
|
||||
channelSettings->getDatvModSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "DABDemodSettings")
|
||||
{
|
||||
channelSettings->setDabDemodSettings(new SWGSDRangel::SWGDABDemodSettings());
|
||||
channelSettings->getDabDemodSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "DSDDemodSettings")
|
||||
{
|
||||
channelSettings->setDsdDemodSettings(new SWGSDRangel::SWGDSDDemodSettings());
|
||||
@@ -4595,6 +4600,7 @@ void WebAPIRequestMapper::resetChannelSettings(SWGSDRangel::SWGChannelSettings&
|
||||
channelSettings.setAtvModSettings(nullptr);
|
||||
channelSettings.setBfmDemodSettings(nullptr);
|
||||
channelSettings.setDatvModSettings(nullptr);
|
||||
channelSettings.setDabDemodSettings(nullptr);
|
||||
channelSettings.setDsdDemodSettings(nullptr);
|
||||
channelSettings.setIeee802154ModSettings(nullptr);
|
||||
channelSettings.setNfmDemodSettings(nullptr);
|
||||
|
||||
@@ -37,6 +37,7 @@ const QMap<QString, QString> WebAPIUtils::m_channelURIToSettingsKey = {
|
||||
{"sdrangel.channel.modchirpchat", "ChirpChatModSettings"},
|
||||
{"sdrangel.channel.demodatv", "ATVDemodSettings"},
|
||||
{"sdrangel.channel.demoddatv", "DATVDemodSettings"},
|
||||
{"sdrangel.channel.dabdemod", "DABDemodSettings"},
|
||||
{"sdrangel.channel.dsddemod", "DSDDemodSettings"},
|
||||
{"sdrangel.channel.filesink", "FileSinkSettings"},
|
||||
{"sdrangel.channeltx.filesource", "FileSourceSettings"},
|
||||
@@ -132,6 +133,7 @@ const QMap<QString, QString> WebAPIUtils::m_channelTypeToSettingsKey = {
|
||||
{"ChirpChatMod", "ChirpChatModSettings"},
|
||||
{"DATVDemod", "DATVDemodSettings"},
|
||||
{"DATVMod", "DATVModSettings"},
|
||||
{"DABDemod", "DABDemodSettings"},
|
||||
{"DSDDemod", "DSDDemodSettings"},
|
||||
{"FileSink", "FileSinkSettings"},
|
||||
{"FileSource", "FileSourceSettings"},
|
||||
|
||||
Reference in New Issue
Block a user