From 044fe0565d93a76e9386274adbb2d240e74a1c24 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 27 Mar 2017 00:00:24 +0200 Subject: [PATCH] ATV Modulator: remove useless method parameters --- plugins/channeltx/modatv/atvmod.cpp | 4 ++-- plugins/channeltx/modatv/atvmod.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/channeltx/modatv/atvmod.cpp b/plugins/channeltx/modatv/atvmod.cpp index 6bd49f7ae..ea96b37ad 100644 --- a/plugins/channeltx/modatv/atvmod.cpp +++ b/plugins/channeltx/modatv/atvmod.cpp @@ -719,7 +719,7 @@ void ATVMod::apply(bool force) memset(m_SSBFilterBuffer, 0, sizeof(Complex)*(m_ssbFftLen>>1)); m_SSBFilterBufferIndex = 0; - applyStandard(m_tvSampleRate, m_pointsPerLine); // set all timings + applyStandard(); // set all timings m_settingsMutex.unlock(); MsgReportEffectiveSampleRate *report; @@ -803,7 +803,7 @@ float ATVMod::getRFBandwidthDivisor(ATVModulation modulation) } } -void ATVMod::applyStandard(int rateUnits, int nbPointsPerRateUnit) +void ATVMod::applyStandard() { m_pointsPerSync = (uint32_t) ((4.7f / 64.0f) * m_pointsPerLine); m_pointsPerBP = (uint32_t) ((4.7f / 64.0f) * m_pointsPerLine); diff --git a/plugins/channeltx/modatv/atvmod.h b/plugins/channeltx/modatv/atvmod.h index 42c30b26d..2330cdac8 100644 --- a/plugins/channeltx/modatv/atvmod.h +++ b/plugins/channeltx/modatv/atvmod.h @@ -699,7 +699,7 @@ private: void modulateSample(); Complex& modulateSSB(Real& sample); Complex& modulateVestigialSSB(Real& sample); - void applyStandard(int rateUnits, int nbPointsPerRateUnit); + void applyStandard(); void openImage(const QString& fileName); void openVideo(const QString& fileName); void resizeImage();