summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-26 19:32:04 +0100
committerLennart Poettering <lennart@poettering.net>2008-10-26 19:32:04 +0100
commitadc2973c8dfab862d4333e0c1206995cd2df20c6 (patch)
treee74b9b79f36cfe7cd42c6261844009c39f5d6074 /src/pulsecore/sink.h
parentc180cb5c48737b60b14fee22f20edc906ae8fec6 (diff)
Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED
Diffstat (limited to 'src/pulsecore/sink.h')
-rw-r--r--src/pulsecore/sink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h
index 74671b44..c5a73214 100644
--- a/src/pulsecore/sink.h
+++ b/src/pulsecore/sink.h
@@ -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 */