mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-20 01:40:25 -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
|
|
@ -407,6 +407,8 @@ unsigned pa_source_check_suspend(pa_source *s, pa_source_output *ignore);
|
|||
|
||||
#define pa_source_get_state(s) ((pa_source_state_t) (s)->state)
|
||||
|
||||
const char *pa_source_state_to_string(pa_source_state_t state);
|
||||
|
||||
/* Moves all inputs away, and stores them in pa_queue */
|
||||
pa_queue *pa_source_move_all_start(pa_source *s, pa_queue *q);
|
||||
void pa_source_move_all_finish(pa_source *s, pa_queue *q, bool save);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue