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

SSB modulator: fixed saturation when going DSB

This commit is contained in:
f4exb 2017-10-12 19:35:57 +02:00
parent 090684d6e4
commit d49ff21985

View File

@ -240,7 +240,7 @@ void SSBMod::pullAF(Complex& sample)
case SSBModInputTone:
if (m_running.m_dsb)
{
Real t = m_toneNco.next();
Real t = m_toneNco.next()/1.25;
sample.real(t);
sample.imag(t);
}
@ -378,7 +378,7 @@ void SSBMod::pullAF(Complex& sample)
{
if (m_running.m_dsb)
{
Real t = m_toneNco.next() * fadeFactor;
Real t = (m_toneNco.next() * fadeFactor)/1.25;
sample.real(t);
sample.imag(t);
}