1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 00:18:37 -05:00

ATV Modulator: remove useless method parameters

This commit is contained in:
f4exb 2017-03-27 00:00:24 +02:00
parent b57b8f0a9a
commit 044fe0565d
2 changed files with 3 additions and 3 deletions

View File

@ -719,7 +719,7 @@ void ATVMod::apply(bool force)
memset(m_SSBFilterBuffer, 0, sizeof(Complex)*(m_ssbFftLen>>1)); memset(m_SSBFilterBuffer, 0, sizeof(Complex)*(m_ssbFftLen>>1));
m_SSBFilterBufferIndex = 0; m_SSBFilterBufferIndex = 0;
applyStandard(m_tvSampleRate, m_pointsPerLine); // set all timings applyStandard(); // set all timings
m_settingsMutex.unlock(); m_settingsMutex.unlock();
MsgReportEffectiveSampleRate *report; 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_pointsPerSync = (uint32_t) ((4.7f / 64.0f) * m_pointsPerLine);
m_pointsPerBP = (uint32_t) ((4.7f / 64.0f) * m_pointsPerLine); m_pointsPerBP = (uint32_t) ((4.7f / 64.0f) * m_pointsPerLine);

View File

@ -699,7 +699,7 @@ private:
void modulateSample(); void modulateSample();
Complex& modulateSSB(Real& sample); Complex& modulateSSB(Real& sample);
Complex& modulateVestigialSSB(Real& sample); Complex& modulateVestigialSSB(Real& sample);
void applyStandard(int rateUnits, int nbPointsPerRateUnit); void applyStandard();
void openImage(const QString& fileName); void openImage(const QString& fileName);
void openVideo(const QString& fileName); void openVideo(const QString& fileName);
void resizeImage(); void resizeImage();