mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Revert "Pulseaudio audio device capture: dont change default output when switching default output"
This reverts commit 902556b143.
This commit is contained in:
5
TODO
5
TODO
@@ -241,7 +241,4 @@ Support reconnecting (and setting things up again) if the audio server is restar
|
|||||||
|
|
||||||
Find out how nvidia-smi fixes nvenc not working on opensuse and do that ourselves instead of relying on nvidia-smi that is not always installed.
|
Find out how nvidia-smi fixes nvenc not working on opensuse and do that ourselves instead of relying on nvidia-smi that is not always installed.
|
||||||
|
|
||||||
Pulseaudio code: add "running" variable to loops to allow stopping the running code when quitting.
|
Pulseaudio code: add "running" variable to loops to allow stopping the running code when quitting.
|
||||||
|
|
||||||
The implementation of changing audio device to capture from when using default_output/default_input and the default device is changed in system audio settings
|
|
||||||
has been disabled because of bugs in pipewire (and kde plasma?). Enable this when it's fixed.
|
|
||||||
@@ -234,11 +234,10 @@ static pa_handle* pa_sound_device_new(const char *server,
|
|||||||
if(!startup_get_default_devices(p, device_name))
|
if(!startup_get_default_devices(p, device_name))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
// 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_context_set_subscribe_callback(p->context, subscribe_cb, p);
|
pa = pa_context_subscribe(p->context, PA_SUBSCRIPTION_MASK_SERVER, NULL, NULL);
|
||||||
//pa = pa_context_subscribe(p->context, PA_SUBSCRIPTION_MASK_SERVER, NULL, NULL);
|
if(pa)
|
||||||
//if(pa)
|
pa_operation_unref(pa);
|
||||||
// pa_operation_unref(pa);
|
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user