summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/PulseAudioStream.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-10-16 11:32:38 +0200
committerGitHub <noreply@github.com>2021-10-16 11:32:38 +0200
commit8195d0bda1acfb751bfd0ba4d4c34eec9fce4b81 (patch)
treeaf6e7ef72030841b01d6723ba83c5d52887a2e64 /Source/Core/AudioCommon/PulseAudioStream.cpp
parent9a6f0bd9b2df9347dbdd4072217516fcf1a52297 (diff)
parent8ea6bef98f535301d23aa1c81d4080c208527705 (diff)
Merge pull request #10144 from malleoz/dsp-onion
Port Main.DSP to MainSettings
Diffstat (limited to 'Source/Core/AudioCommon/PulseAudioStream.cpp')
-rw-r--r--Source/Core/AudioCommon/PulseAudioStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/PulseAudioStream.cpp b/Source/Core/AudioCommon/PulseAudioStream.cpp
index 3b093aeb79..5b0662972d 100644
--- a/Source/Core/AudioCommon/PulseAudioStream.cpp
+++ b/Source/Core/AudioCommon/PulseAudioStream.cpp
@@ -9,7 +9,7 @@
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/Thread.h"
-#include "Core/ConfigManager.h"
+#include "Core/Config/MainSettings.h"
namespace
{
@@ -20,7 +20,7 @@ PulseAudio::PulseAudio() = default;
bool PulseAudio::Init()
{
- m_stereo = !SConfig::GetInstance().ShouldUseDPL2Decoder();
+ m_stereo = !Config::ShouldUseDPL2Decoder();
m_channels = m_stereo ? 2 : 6; // will tell PA we use a Stereo or 5.0 channel setup
NOTICE_LOG_FMT(AUDIO, "PulseAudio backend using {} channels", m_channels);