UDP source Web API setting correction. UDP sink default port set to 9998

This commit is contained in:
f4exb 2018-08-15 22:47:55 +02:00
parent b1da29a3c4
commit 53d6161e89
4 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,8 @@
**Check the discussion group** [here](https://groups.io/g/sdrangel) **Check the discussion group** [here](https://groups.io/g/sdrangel)
⚠ SDRangel is intended for the power user. We expect you to already have some experience with SDR applications and digital signal processing in general. SDRangel might be a bit overwhelming for you however you are encouraged to use the discussion group above to look for help.
<h1>Source code</h1> <h1>Source code</h1>
<h2>Repository branches</h2> <h2>Repository branches</h2>

View File

@ -658,7 +658,7 @@ int UDPSrc::webapiSettingsPutPatch(
SWGSDRangel::SWGChannelSettings& response, SWGSDRangel::SWGChannelSettings& response,
QString& errorMessage __attribute__((unused))) QString& errorMessage __attribute__((unused)))
{ {
UDPSrcSettings settings; UDPSrcSettings settings = m_settings;
bool frequencyOffsetChanged = false; bool frequencyOffsetChanged = false;
if (channelSettingsKeys.contains("outputSampleRate")) { if (channelSettingsKeys.contains("outputSampleRate")) {

View File

@ -27,7 +27,7 @@
const PluginDescriptor UDPSrcPlugin::m_pluginDescriptor = { const PluginDescriptor UDPSrcPlugin::m_pluginDescriptor = {
QString("UDP Channel Source"), QString("UDP Channel Source"),
QString("4.0.2"), QString("4.0.7"),
QString("(c) Edouard Griffiths, F4EXB"), QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"), QString("https://github.com/f4exb/sdrangel"),
true, true,

View File

@ -46,7 +46,7 @@ void UDPSinkSettings::resetToDefaults()
m_stereoInput = false; m_stereoInput = false;
m_squelchEnabled = true; m_squelchEnabled = true;
m_udpAddress = "127.0.0.1"; m_udpAddress = "127.0.0.1";
m_udpPort = 9999; m_udpPort = 9998;
m_rgbColor = QColor(225, 25, 99).rgb(); m_rgbColor = QColor(225, 25, 99).rgb();
m_title = "UDP Sample Sink"; m_title = "UDP Sample Sink";
} }