mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-07-31 05:02:24 -04:00
AIS Demod: Remove unused filter.
This commit is contained in:
parent
f77bffed3f
commit
4d69da6ec2
@ -413,7 +413,6 @@ void AISDemodSink::applySettings(const AISDemodSettings& settings, bool force)
|
|||||||
m_interpolator.create(16, m_channelSampleRate, settings.m_rfBandwidth / 2.2);
|
m_interpolator.create(16, m_channelSampleRate, settings.m_rfBandwidth / 2.2);
|
||||||
m_interpolatorDistance = (Real) m_channelSampleRate / (Real) AISDemodSettings::AISDEMOD_CHANNEL_SAMPLE_RATE;
|
m_interpolatorDistance = (Real) m_channelSampleRate / (Real) AISDemodSettings::AISDEMOD_CHANNEL_SAMPLE_RATE;
|
||||||
m_interpolatorDistanceRemain = m_interpolatorDistance;
|
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)
|
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)
|
if ((settings.m_baud != m_settings.m_baud) || force)
|
||||||
{
|
{
|
||||||
m_samplesPerSymbol = AISDemodSettings::AISDEMOD_CHANNEL_SAMPLE_RATE / settings.m_baud;
|
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);
|
m_pulseShape.create(0.5, 3, m_samplesPerSymbol);
|
||||||
|
|
||||||
// Recieve buffer, long enough for one max length message
|
// Recieve buffer, long enough for one max length message
|
||||||
|
@ -113,7 +113,6 @@ private:
|
|||||||
|
|
||||||
MovingAverageUtil<Real, double, 16> m_movingAverage;
|
MovingAverageUtil<Real, double, 16> m_movingAverage;
|
||||||
|
|
||||||
Lowpass<Complex> m_lowpass; // RF input filter
|
|
||||||
PhaseDiscriminators m_phaseDiscri; // FM demodulator
|
PhaseDiscriminators m_phaseDiscri; // FM demodulator
|
||||||
Gaussian<Real> m_pulseShape; // Pulse shaping filter
|
Gaussian<Real> m_pulseShape; // Pulse shaping filter
|
||||||
Real *m_rxBuf; // Receive sample buffer, large enough for one max length messsage
|
Real *m_rxBuf; // Receive sample buffer, large enough for one max length messsage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user