aboutsummaryrefslogtreecommitdiff
path: root/xbmc/platform/linux/PlatformLinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/platform/linux/PlatformLinux.cpp')
-rw-r--r--xbmc/platform/linux/PlatformLinux.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/platform/linux/PlatformLinux.cpp b/xbmc/platform/linux/PlatformLinux.cpp
index 6be5163883..e01f8216bf 100644
--- a/xbmc/platform/linux/PlatformLinux.cpp
+++ b/xbmc/platform/linux/PlatformLinux.cpp
@@ -101,7 +101,7 @@ bool CPlatformLinux::InitStageOne()
}
else if (sink == "pulseaudio")
{
- OPTIONALS::PulseAudioRegister();
+ OPTIONALS::PulseAudioRegister(true);
}
else if (sink == "pipewire")
{
@@ -114,13 +114,13 @@ bool CPlatformLinux::InitStageOne()
else if (sink == "alsa+pulseaudio")
{
OPTIONALS::ALSARegister();
- OPTIONALS::PulseAudioRegister();
+ OPTIONALS::PulseAudioRegister(true);
}
else
{
- if (!OPTIONALS::PipewireRegister())
+ if (!OPTIONALS::PulseAudioRegister(false))
{
- if (!OPTIONALS::PulseAudioRegister())
+ if (!OPTIONALS::PipewireRegister())
{
if (!OPTIONALS::ALSARegister())
{