mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
device-port: moving streams due to changing the status of active_port
When the active port of a sink becomes unavailable, all streams from that sink should be moved to the default sink. When the active port of a sink changes state from unavailable, all streams that have their preferred_sink set to this sink should be moved to this sink. Signed-off-by: Hui Wang <hui.wang@canonical.com>
This commit is contained in:
parent
b886836630
commit
60d948618e
2 changed files with 27 additions and 0 deletions
|
|
@ -87,4 +87,6 @@ void pa_device_port_set_preferred_profile(pa_device_port *p, const char *new_pp)
|
|||
|
||||
pa_device_port *pa_device_port_find_best(pa_hashmap *ports);
|
||||
|
||||
pa_sink *pa_device_port_get_sink(pa_device_port *p);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue