mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
device-port: moving streams since active_port on source changes status
When the active port of a source becomes unavailable, all streams from that source should be moved to the default source. When the active port of a source changes state from unavailable, all streams that have their preferred_source set to this source should be moved to this source. Signed-off-by: Hui Wang <hui.wang@canonical.com>
This commit is contained in:
parent
1cea7ab38d
commit
976a366c9f
2 changed files with 25 additions and 0 deletions
|
|
@ -89,4 +89,6 @@ pa_device_port *pa_device_port_find_best(pa_hashmap *ports);
|
|||
|
||||
pa_sink *pa_device_port_get_sink(pa_device_port *p);
|
||||
|
||||
pa_source *pa_device_port_get_source(pa_device_port *p);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue