From 53d6161e8985bb480550cdc92e2df307d49ad1cd Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 15 Aug 2018 22:47:55 +0200 Subject: [PATCH] UDP source Web API setting correction. UDP sink default port set to 9998 --- Readme.md | 2 ++ plugins/channelrx/udpsrc/udpsrc.cpp | 2 +- plugins/channelrx/udpsrc/udpsrcplugin.cpp | 2 +- plugins/channeltx/udpsink/udpsinksettings.cpp | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 105ff5b7d..ee0bfcdec 100644 --- a/Readme.md +++ b/Readme.md @@ -4,6 +4,8 @@ **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. +

Source code

Repository branches

diff --git a/plugins/channelrx/udpsrc/udpsrc.cpp b/plugins/channelrx/udpsrc/udpsrc.cpp index dc2e31df8..64b0689eb 100644 --- a/plugins/channelrx/udpsrc/udpsrc.cpp +++ b/plugins/channelrx/udpsrc/udpsrc.cpp @@ -658,7 +658,7 @@ int UDPSrc::webapiSettingsPutPatch( SWGSDRangel::SWGChannelSettings& response, QString& errorMessage __attribute__((unused))) { - UDPSrcSettings settings; + UDPSrcSettings settings = m_settings; bool frequencyOffsetChanged = false; if (channelSettingsKeys.contains("outputSampleRate")) { diff --git a/plugins/channelrx/udpsrc/udpsrcplugin.cpp b/plugins/channelrx/udpsrc/udpsrcplugin.cpp index 025482083..e31fc580e 100644 --- a/plugins/channelrx/udpsrc/udpsrcplugin.cpp +++ b/plugins/channelrx/udpsrc/udpsrcplugin.cpp @@ -27,7 +27,7 @@ const PluginDescriptor UDPSrcPlugin::m_pluginDescriptor = { QString("UDP Channel Source"), - QString("4.0.2"), + QString("4.0.7"), QString("(c) Edouard Griffiths, F4EXB"), QString("https://github.com/f4exb/sdrangel"), true, diff --git a/plugins/channeltx/udpsink/udpsinksettings.cpp b/plugins/channeltx/udpsink/udpsinksettings.cpp index 7bcbdab13..cc8cdaf83 100644 --- a/plugins/channeltx/udpsink/udpsinksettings.cpp +++ b/plugins/channeltx/udpsink/udpsinksettings.cpp @@ -46,7 +46,7 @@ void UDPSinkSettings::resetToDefaults() m_stereoInput = false; m_squelchEnabled = true; m_udpAddress = "127.0.0.1"; - m_udpPort = 9999; + m_udpPort = 9998; m_rgbColor = QColor(225, 25, 99).rgb(); m_title = "UDP Sample Sink"; }