1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

Put more volume on SSB audio

This commit is contained in:
f4exb 2015-05-15 03:14:51 +02:00
parent 93d5081b44
commit b7c0e85329

View File

@ -82,7 +82,7 @@ void SSBDemod::feed(SampleVector::const_iterator begin, SampleVector::const_iter
if (!(m_undersampleCount++ & 3)) if (!(m_undersampleCount++ & 3))
m_sampleBuffer.push_back(Sample(demod, 0.0)); m_sampleBuffer.push_back(Sample(demod, 0.0));
qint16 sample = (qint16)(demod * m_volume); qint16 sample = (qint16)(demod * m_volume * 10);
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;