summaryrefslogtreecommitdiff
path: root/soundbox/pipewire-binding.c
diff options
context:
space:
mode:
authorxegineering <me@xegineering.eu>2024-12-14 16:52:55 +0100
committerxegineering <me@xegineering.eu>2024-12-14 16:52:55 +0100
commit62d3045df3283872628b0b8b8a8caeef1c226dfa (patch)
tree25deadfb79e62a165d1dd88657d4f4612de83c31 /soundbox/pipewire-binding.c
parent5da49db791b6d70ca5ac4154dc49e55d6219ba33 (diff)
downloadsoundbox-go-62d3045df3283872628b0b8b8a8caeef1c226dfa.tar
soundbox-go-62d3045df3283872628b0b8b8a8caeef1c226dfa.tar.zst
soundbox-go-62d3045df3283872628b0b8b8a8caeef1c226dfa.zip
pipewire: Disable auto-connect
This used to connect the soundbox capture device directly to the default input (usually system microphone). This is not wanted since the main purpose of soundbox is not streaming the microphone but output of media players. Furthermore depending on the sound setup it could lead to a feedback loop with a very loud noise.
Diffstat (limited to 'soundbox/pipewire-binding.c')
-rw-r--r--soundbox/pipewire-binding.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/soundbox/pipewire-binding.c b/soundbox/pipewire-binding.c
index 4bf970c..bd23ff0 100644
--- a/soundbox/pipewire-binding.c
+++ b/soundbox/pipewire-binding.c
@@ -90,7 +90,6 @@ void pw_stdout(void)
stream,
PW_DIRECTION_INPUT,
PW_ID_ANY,
- PW_STREAM_FLAG_AUTOCONNECT |
PW_STREAM_FLAG_MAP_BUFFERS |
PW_STREAM_FLAG_RT_PROCESS,
params,