Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED

This commit is contained in:
Lennart Poettering 2008-10-26 19:32:04 +01:00
parent c180cb5c48
commit adc2973c8d
13 changed files with 156 additions and 24 deletions

View file

@ -252,6 +252,7 @@ pa_bool_t pa_sink_get_mute(pa_sink *sink, pa_bool_t force_refres);
unsigned pa_sink_linked_by(pa_sink *s); /* Number of connected streams */
unsigned pa_sink_used_by(pa_sink *s); /* Number of connected streams which are not corked */
unsigned pa_sink_check_suspend(pa_sink *s); /* Returns how many streams are active that don't allow suspensions */
#define pa_sink_get_state(s) ((s)->state)
/* To be called exclusively by the sink driver, from IO context */