mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 17:17:16 +09:00
Pulseaudio audio device capture: dont change default output when switching default output
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user