From 4d69da6ec2b946a5a4b2f2f19fe7d93ec5528a03 Mon Sep 17 00:00:00 2001 From: srcejon Date: Mon, 18 Mar 2024 14:15:11 +0000 Subject: [PATCH] AIS Demod: Remove unused filter. --- plugins/channelrx/demodais/aisdemodsink.cpp | 3 +-- plugins/channelrx/demodais/aisdemodsink.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/channelrx/demodais/aisdemodsink.cpp b/plugins/channelrx/demodais/aisdemodsink.cpp index ddd3560cf..4b6f2a375 100644 --- a/plugins/channelrx/demodais/aisdemodsink.cpp +++ b/plugins/channelrx/demodais/aisdemodsink.cpp @@ -413,7 +413,6 @@ void AISDemodSink::applySettings(const AISDemodSettings& settings, bool force) m_interpolator.create(16, m_channelSampleRate, settings.m_rfBandwidth / 2.2); m_interpolatorDistance = (Real) m_channelSampleRate / (Real) AISDemodSettings::AISDEMOD_CHANNEL_SAMPLE_RATE; m_interpolatorDistanceRemain = m_interpolatorDistance; - m_lowpass.create(301, AISDemodSettings::AISDEMOD_CHANNEL_SAMPLE_RATE, settings.m_rfBandwidth / 2.0f); } if ((settings.m_fmDeviation != m_settings.m_fmDeviation) || force) { @@ -423,7 +422,7 @@ void AISDemodSink::applySettings(const AISDemodSettings& settings, bool force) if ((settings.m_baud != m_settings.m_baud) || force) { m_samplesPerSymbol = AISDemodSettings::AISDEMOD_CHANNEL_SAMPLE_RATE / settings.m_baud; - qDebug() << "ISDemodSink::applySettings: m_samplesPerSymbol: " << m_samplesPerSymbol << " baud " << settings.m_baud; + qDebug() << "AISDemodSink::applySettings: m_samplesPerSymbol: " << m_samplesPerSymbol << " baud " << settings.m_baud; m_pulseShape.create(0.5, 3, m_samplesPerSymbol); // Recieve buffer, long enough for one max length message diff --git a/plugins/channelrx/demodais/aisdemodsink.h b/plugins/channelrx/demodais/aisdemodsink.h index a7ce27aba..3f0a9f667 100644 --- a/plugins/channelrx/demodais/aisdemodsink.h +++ b/plugins/channelrx/demodais/aisdemodsink.h @@ -113,7 +113,6 @@ private: MovingAverageUtil m_movingAverage; - Lowpass m_lowpass; // RF input filter PhaseDiscriminators m_phaseDiscri; // FM demodulator Gaussian m_pulseShape; // Pulse shaping filter Real *m_rxBuf; // Receive sample buffer, large enough for one max length messsage