DSP must be set to LLE to select the decoder

This commit is contained in:
LAGonauta
2019-06-15 08:36:47 -03:00
parent 3c9eb37381
commit 2ff646b796
7 changed files with 33 additions and 16 deletions

View File

@ -19,7 +19,7 @@ PulseAudio::PulseAudio() = default;
bool PulseAudio::Init()
{
m_stereo = !SConfig::GetInstance().bDPL2Decoder;
m_stereo = !SConfig::GetInstance().bDPL2Decoder || SConfig::GetInstance().bDSPHLE;
m_channels = m_stereo ? 2 : 6; // will tell PA we use a Stereo or 5.0 channel setup
NOTICE_LOG(AUDIO, "PulseAudio backend using %d channels", m_channels);