kopia lustrzana https://github.com/f4exb/sdrangel
Fix stereo sound in DAB demod
rodzic
aca440935e
commit
290587c4a5
|
@ -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
|
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 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].l = l;
|
||||||
m_audioBuffer[m_audioBufferFill].r = r;
|
m_audioBuffer[m_audioBufferFill].r = r;
|
||||||
|
|
Ładowanie…
Reference in New Issue