diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-06-05 19:05:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-06-05 19:05:07 +0200 |
commit | 00797b8b6ea7978f862facb7181fb04895caf23c (patch) | |
tree | bf483383098ee82f2ac1d051ac82fdf8bbb0cf3f /src/pulsecore/sink.h | |
parent | 3af5f8cb553e512305c1f3603b57424c36c9c82c (diff) |
core: add a suspend cause flags field
Diffstat (limited to 'src/pulsecore/sink.h')
-rw-r--r-- | src/pulsecore/sink.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h index e33b3cfc..4dce3f93 100644 --- a/src/pulsecore/sink.h +++ b/src/pulsecore/sink.h @@ -56,6 +56,7 @@ struct pa_sink { pa_core *core; pa_sink_state_t state; pa_sink_flags_t flags; + pa_suspend_cause_t suspend_cause; char *name; char *driver; /* may be NULL */ @@ -252,8 +253,8 @@ size_t pa_sink_get_max_rewind(pa_sink *s); size_t pa_sink_get_max_request(pa_sink *s); int pa_sink_update_status(pa_sink*s); -int pa_sink_suspend(pa_sink *s, pa_bool_t suspend); -int pa_sink_suspend_all(pa_core *c, pa_bool_t suspend); +int pa_sink_suspend(pa_sink *s, pa_bool_t suspend, pa_suspend_cause_t cause); +int pa_sink_suspend_all(pa_core *c, pa_bool_t suspend, pa_suspend_cause_t cause); void pa_sink_update_flat_volume(pa_sink *s, pa_cvolume *new_volume); void pa_sink_propagate_flat_volume(pa_sink *s); |