aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-21 00:36:28 -0800
committerChris Robinson <[email protected]>2023-12-21 00:36:28 -0800
commit8fad6a395c21e6d285590c34eb81f5af492cf4ac (patch)
treec1919c2bb1e8bba7552c48870d2a2cf6b0b38ce8
parente349b63335e9512a8434d72368520315c7b15197 (diff)
Disable rt-mix by default for PipeWire
-rw-r--r--alc/backends/pipewire.cpp2
-rw-r--r--alsoftrc.sample2
2 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/pipewire.cpp b/alc/backends/pipewire.cpp
index c8264796..d3ab8984 100644
--- a/alc/backends/pipewire.cpp
+++ b/alc/backends/pipewire.cpp
@@ -1688,7 +1688,7 @@ bool PipeWirePlayback::reset()
pw_stream_flags flags{PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_INACTIVE
| PW_STREAM_FLAG_MAP_BUFFERS};
- if(GetConfigValueBool(mDevice->DeviceName.c_str(), "pipewire", "rt-mix", true))
+ if(GetConfigValueBool(mDevice->DeviceName.c_str(), "pipewire", "rt-mix", false))
flags |= PW_STREAM_FLAG_RT_PROCESS;
if(int res{pw_stream_connect(mStream.get(), PW_DIRECTION_OUTPUT, PwIdAny, flags, &params, 1)})
throw al::backend_exception{al::backend_error::DeviceError,
diff --git a/alsoftrc.sample b/alsoftrc.sample
index 42802184..278d78e5 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -406,7 +406,7 @@
# Renders samples directly in the real-time processing callback. This allows
# for lower latency and less overall CPU utilization, but can increase the
# risk of underruns when increasing the amount of work the mixer needs to do.
-#rt-mix = true
+#rt-mix = false
##
## PulseAudio backend stuff