mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
UDP sink: fixes
This commit is contained in:
parent
7c5066d27c
commit
80d243811f
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user