mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: support moving capture streams to monitors
Also resolve the monitor ids to the sink with the monitor ports.
This commit is contained in:
parent
24d795e9a4
commit
bc47378abc
1 changed files with 6 additions and 0 deletions
|
|
@ -2737,6 +2737,12 @@ static struct pw_manager_object *find_device(struct client *client,
|
||||||
sink = true;
|
sink = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (id != SPA_ID_INVALID && !sink) {
|
||||||
|
if (id & MONITOR_FLAG) {
|
||||||
|
sink = true;
|
||||||
|
id &= ~MONITOR_FLAG;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
spa_zero(sel);
|
spa_zero(sel);
|
||||||
sel.id = id;
|
sel.id = id;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue