mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
sink: move streams to new appeared sinks if they prefer these sinks
When a new sink appears, all streams that have their preferred_sink set to the new sink should be moved to the new sink. Signed-off-by: Hui Wang <hui.wang@canonical.com>
This commit is contained in:
parent
40d92e9b1a
commit
b886836630
4 changed files with 35 additions and 53 deletions
|
|
@ -278,4 +278,6 @@ static const size_t PA_SUSPEND_CAUSE_TO_STRING_BUF_SIZE =
|
|||
* provided buffer. The same buffer is the return value of this function. */
|
||||
const char *pa_suspend_cause_to_string(pa_suspend_cause_t cause, char buf[PA_SUSPEND_CAUSE_TO_STRING_BUF_SIZE]);
|
||||
|
||||
void pa_core_move_streams_to_newly_available_preferred_sink(pa_core *c, pa_sink *s);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue