UDP sink: effectively implemented low cutoff setting from web API

pull/228/head
f4exb 2018-08-16 01:05:19 +02:00
rodzic 53d6161e89
commit 2c7d45e9a6
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -487,6 +487,7 @@ void UDPSink::applySettings(const UDPSinkSettings& settings, bool force)
<< " m_sampleFormat: " << settings.m_sampleFormat << " m_sampleFormat: " << settings.m_sampleFormat
<< " m_inputSampleRate: " << settings.m_inputSampleRate << " m_inputSampleRate: " << settings.m_inputSampleRate
<< " m_rfBandwidth: " << settings.m_rfBandwidth << " m_rfBandwidth: " << settings.m_rfBandwidth
<< " m_lowCutoff: " << settings.m_lowCutoff
<< " m_fmDeviation: " << settings.m_fmDeviation << " m_fmDeviation: " << settings.m_fmDeviation
<< " m_udpAddressStr: " << settings.m_udpAddress << " m_udpAddressStr: " << settings.m_udpAddress
<< " m_udpPort: " << settings.m_udpPort << " m_udpPort: " << settings.m_udpPort
@ -501,6 +502,7 @@ void UDPSink::applySettings(const UDPSinkSettings& settings, bool force)
<< " force: " << force; << " force: " << force;
if((settings.m_rfBandwidth != m_settings.m_rfBandwidth) || if((settings.m_rfBandwidth != m_settings.m_rfBandwidth) ||
(settings.m_lowCutoff != m_settings.m_lowCutoff) ||
(settings.m_inputSampleRate != m_settings.m_inputSampleRate) || force) (settings.m_inputSampleRate != m_settings.m_inputSampleRate) || force)
{ {
m_settingsMutex.lock(); m_settingsMutex.lock();