mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
sink, source: improve state change logging
Now the old and new state is logged every time when the sink or source state changes.
This commit is contained in:
parent
94fc586c01
commit
eeee5664fa
5 changed files with 34 additions and 36 deletions
|
|
@ -476,6 +476,8 @@ unsigned pa_sink_check_suspend(pa_sink *s, pa_sink_input *ignore_input, pa_sourc
|
|||
|
||||
#define pa_sink_get_state(s) ((s)->state)
|
||||
|
||||
const char *pa_sink_state_to_string(pa_sink_state_t state);
|
||||
|
||||
/* Moves all inputs away, and stores them in pa_queue */
|
||||
pa_queue *pa_sink_move_all_start(pa_sink *s, pa_queue *q);
|
||||
void pa_sink_move_all_finish(pa_sink *s, pa_queue *q, bool save);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue