mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: handle no_remix flag
This commit is contained in:
parent
4f2b1c7684
commit
12cefd2461
1 changed files with 4 additions and 0 deletions
|
|
@ -1571,6 +1571,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui
|
|||
stream->attr = attr;
|
||||
stream->is_underrun = true;
|
||||
|
||||
if (no_remix)
|
||||
pw_properties_set(props, PW_KEY_STREAM_DONT_REMIX, "true");
|
||||
flags = 0;
|
||||
if (no_move)
|
||||
flags |= PW_STREAM_FLAG_DONT_RECONNECT;
|
||||
|
|
@ -1789,6 +1791,8 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
|
|||
|
||||
if (peak_detect)
|
||||
pw_properties_set(props, PW_KEY_STREAM_MONITOR, "true");
|
||||
if (no_remix)
|
||||
pw_properties_set(props, PW_KEY_STREAM_DONT_REMIX, "true");
|
||||
flags = 0;
|
||||
if (no_move)
|
||||
flags |= PW_STREAM_FLAG_DONT_RECONNECT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue