mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
source: move streams to new appeared sources if they prefer these sources
When a new source appears, all streams that have their preferred_source set to the new source should be moved to the new source. Signed-off-by: Hui Wang <hui.wang@canonical.com>
This commit is contained in:
parent
c254f8405c
commit
1cea7ab38d
4 changed files with 45 additions and 65 deletions
|
|
@ -281,4 +281,6 @@ const char *pa_suspend_cause_to_string(pa_suspend_cause_t cause, char buf[PA_SUS
|
|||
|
||||
void pa_core_move_streams_to_newly_available_preferred_sink(pa_core *c, pa_sink *s);
|
||||
|
||||
void pa_core_move_streams_to_newly_available_preferred_source(pa_core *c, pa_source *s);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue