1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Merge pull request #1150 from srcejon/fix_dab_stereo

Fix stereo sound in DAB demod
This commit is contained in:
Edouard Griffiths 2022-02-14 17:20:08 +01:00 committed by GitHub
commit dc9c60d48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,7 +423,7 @@ void DABDemodSink::processOneAudioSample(Complex &ci)
float factor = m_settings.m_volume / 5.0f; // Should this be 5 or 10? 5 allows some positive gain
qint16 l = scale(ci.real(), factor);
qint16 r = scale(ci.real(), factor);
qint16 r = scale(ci.imag(), factor);
m_audioBuffer[m_audioBufferFill].l = l;
m_audioBuffer[m_audioBufferFill].r = r;