mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
pulse-server: only use passive for devices
The dont-inhibit-auto-suspend flag does not do anything when using direct-on-input-idx (capturing from a stream) in pulseaudio, so also make it do nothing on pulse-server. See #4991
This commit is contained in:
parent
fc26e6321b
commit
2c6aa8e0d0
1 changed files with 1 additions and 0 deletions
|
|
@ -2051,6 +2051,7 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
|
|||
flags |= PW_STREAM_FLAG_DONT_RECONNECT;
|
||||
|
||||
if (direct_on_input_idx != SPA_ID_INVALID) {
|
||||
dont_inhibit_auto_suspend = false;
|
||||
source_index = direct_on_input_idx;
|
||||
} else if (source_name != NULL) {
|
||||
if ((id = atoi(source_name)) != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue