diff options
| author | LAGonauta <lagonauta@gmail.com> | 2019-11-11 08:03:36 -0300 |
|---|---|---|
| committer | LAGonauta <lagonauta@gmail.com> | 2019-11-11 08:03:36 -0300 |
| commit | 08787ebc4a53bb9e64b3bb3c87f20e63c0d87841 (patch) | |
| tree | c73819d89b7d2e461c33968278922aec12642f03 /Source/Core/AudioCommon/PulseAudioStream.cpp | |
| parent | 2ff646b79657f794390ff993b323b7b378ab08e5 (diff) | |
Centralize logic to detect when the DPL2 decoder should be used.
Diffstat (limited to 'Source/Core/AudioCommon/PulseAudioStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/PulseAudioStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/PulseAudioStream.cpp b/Source/Core/AudioCommon/PulseAudioStream.cpp index 3d05cc610b..8372683a25 100644 --- a/Source/Core/AudioCommon/PulseAudioStream.cpp +++ b/Source/Core/AudioCommon/PulseAudioStream.cpp @@ -19,7 +19,7 @@ PulseAudio::PulseAudio() = default; bool PulseAudio::Init() { - m_stereo = !SConfig::GetInstance().bDPL2Decoder || SConfig::GetInstance().bDSPHLE; + m_stereo = !SConfig::GetInstance().ShouldUseDPL2Decoder(); 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); |
