mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Put more volume on SSB audio
This commit is contained in:
parent
93d5081b44
commit
b7c0e85329
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user