diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-03 13:17:35 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-03 13:17:35 +0100 |
commit | 902556b143342b8e03474fc62ab363c41c6d30a3 (patch) | |
tree | 0992fe07b130d27cc64a221ba2789d49faf4e39e /src | |
parent | 6024a54551a4b4a8495b34aa2026ae4ea00c3545 (diff) |
Pulseaudio audio device capture: dont change default output when switching default output
Diffstat (limited to 'src')
-rw-r--r-- | src/sound.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sound.cpp b/src/sound.cpp index aaf8ef5..b0924f7 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -234,10 +234,11 @@ static pa_handle* pa_sound_device_new(const char *server, if(!startup_get_default_devices(p, device_name)) goto fail; - pa_context_set_subscribe_callback(p->context, subscribe_cb, p); - pa = pa_context_subscribe(p->context, PA_SUBSCRIPTION_MASK_SERVER, NULL, NULL); - if(pa) - pa_operation_unref(pa); + // TODO: This has to be disabled because of bugs in pipewire (and kde plasma?) + //pa_context_set_subscribe_callback(p->context, subscribe_cb, p); + //pa = pa_context_subscribe(p->context, PA_SUBSCRIPTION_MASK_SERVER, NULL, NULL); + //if(pa) + // pa_operation_unref(pa); return p; |