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

SSB demod: fixed audio volume too low

This commit is contained in:
f4exb 2015-10-11 06:57:26 +02:00
parent e9f122fac1
commit dc3bdc62e1

View File

@ -122,7 +122,7 @@ void SSBDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
sum.imag() = 0.0; sum.imag() = 0.0;
} }
qint16 sample = (qint16)(demod * m_volume * 10); qint16 sample = (qint16)(demod * m_volume * 100);
m_audioBuffer[m_audioBufferFill].l = sample; m_audioBuffer[m_audioBufferFill].l = sample;
m_audioBuffer[m_audioBufferFill].r = sample; m_audioBuffer[m_audioBufferFill].r = sample;
++m_audioBufferFill; ++m_audioBufferFill;