1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-25 12:12:02 -05:00

UDP sink: fixes

This commit is contained in:
f4exb 2018-01-02 16:23:31 +01:00
parent 7c5066d27c
commit 80d243811f
4 changed files with 7 additions and 7 deletions

4
debian/changelog vendored
View File

@ -2,9 +2,9 @@ sdrangel (3.9.1-1) unstable; urgency=medium
* Transmission: make source channels working concurrently in multiple channel
* Transmission: connect source channel directly to device FIFO in single channel
* NFM and WFM modulators: fixes
* NFM, WFM modulators and UDP sink: fixes
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Sat, 30 Dec 2017 17:14:18 +0100
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Tue, 02 Jan 2018 21:14:18 +0100
sdrangel (3.9.0-1) unstable; urgency=medium

View File

@ -454,7 +454,7 @@ void UDPSink::applyChannelSettings(int basebandSampleRate, int outputSampleRate,
m_settingsMutex.unlock();
}
if (outputSampleRate != m_outputSampleRate)
if ((outputSampleRate != m_outputSampleRate) && (!m_settings.m_autoRWBalance))
{
m_settingsMutex.lock();
m_interpolatorDistanceRemain = 0;
@ -462,8 +462,6 @@ void UDPSink::applyChannelSettings(int basebandSampleRate, int outputSampleRate,
m_interpolatorDistance = (Real) m_settings.m_inputSampleRate / (Real) outputSampleRate;
m_interpolator.create(48, m_settings.m_inputSampleRate, m_settings.m_rfBandwidth / 2.2, 3.0);
m_settingsMutex.unlock();
m_squelchThreshold = outputSampleRate * m_settings.m_squelchGate;
initSquelch(m_squelchOpen);
}
m_basebandSampleRate = basebandSampleRate;

View File

@ -251,7 +251,8 @@ void UDPSinkGUI::channelMarkerChangedByCursor()
void UDPSinkGUI::on_deltaFrequency_changed(qint64 value)
{
m_settings.m_inputFrequencyOffset = value;
m_channelMarker.setCenterFrequency(value); // will trigger apply settings
m_channelMarker.setCenterFrequency(value);
applySettings();
}
void UDPSinkGUI::on_sampleFormat_currentIndexChanged(int index)
@ -436,6 +437,7 @@ void UDPSinkGUI::onMenuDialogCalled(const QPoint &p)
setWindowTitle(m_channelMarker.getTitle());
setTitleColor(m_settings.m_rgbColor);
ui->addressText->setText(tr("%1:%2").arg(m_settings.m_udpAddress).arg(m_settings.m_udpPort));
applySettings();
}

View File

@ -24,7 +24,7 @@
const PluginDescriptor UDPSinkPlugin::m_pluginDescriptor = {
QString("UDP Channel Sink"),
QString("3.9.0"),
QString("3.9.1"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,