From f1ead093375228704b9fb01f75bfcd5835490a02 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 30 Dec 2017 10:17:30 +0100 Subject: [PATCH] LimeSDR: more informative debug message on apply settings --- plugins/channeltx/udpsink/udpsink.cpp | 2 +- plugins/samplesink/limesdroutput/limesdroutput.cpp | 5 ++++- plugins/samplesource/limesdrinput/limesdrinput.cpp | 3 +++ swagger/sdrangel/examples/rx_test.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/plugins/channeltx/udpsink/udpsink.cpp b/plugins/channeltx/udpsink/udpsink.cpp index b031050d7..3c74575cd 100644 --- a/plugins/channeltx/udpsink/udpsink.cpp +++ b/plugins/channeltx/udpsink/udpsink.cpp @@ -35,8 +35,8 @@ const QString UDPSink::m_channelId = "UDPSink"; UDPSink::UDPSink(DeviceSinkAPI *deviceAPI) : ChannelSourceAPI(m_channelIdURI), m_deviceAPI(deviceAPI), - m_outputSampleRate(48000), m_basebandSampleRate(48000), + m_outputSampleRate(48000), m_inputFrequencyOffset(0), m_squelch(1e-6), m_spectrum(0), diff --git a/plugins/samplesink/limesdroutput/limesdroutput.cpp b/plugins/samplesink/limesdroutput/limesdroutput.cpp index 76eb9f762..517fca912 100644 --- a/plugins/samplesink/limesdroutput/limesdroutput.cpp +++ b/plugins/samplesink/limesdroutput/limesdroutput.cpp @@ -1080,7 +1080,10 @@ bool LimeSDROutput::applySettings(const LimeSDROutputSettings& settings, bool fo qDebug() << "LimeSDROutput::applySettings: center freq: " << m_settings.m_centerFrequency << " Hz" << " device stream sample rate: " << m_settings.m_devSampleRate << "S/s" - << " sample rate with soft decimation: " << m_settings.m_devSampleRate/(1<