diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-02-04 18:25:54 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-02-04 18:25:54 +0000 |
commit | 6bfc46de9234f0ef39d90b934fb406eebec4c59c (patch) | |
tree | 35b612485f2b6f198caaaf54f92442f219ae6a2d /src/active-sink.h | |
parent | 39430b4d1797d16b2152fddb864a38c26f8fb97f (diff) | |
download | ayatana-indicator-sound-6bfc46de9234f0ef39d90b934fb406eebec4c59c.tar.gz ayatana-indicator-sound-6bfc46de9234f0ef39d90b934fb406eebec4c59c.tar.bz2 ayatana-indicator-sound-6bfc46de9234f0ef39d90b934fb406eebec4c59c.zip |
tidy ups
Diffstat (limited to 'src/active-sink.h')
-rw-r--r-- | src/active-sink.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/active-sink.h b/src/active-sink.h index 3b21d94..5fdcba9 100644 --- a/src/active-sink.h +++ b/src/active-sink.h @@ -48,24 +48,18 @@ struct _ActiveSinkClass { GObjectClass parent_class; }; -/*typedef struct { - gchar* name; - gint index; - pa_cvolume volume; - pa_channel_map channel_map; - gboolean mute; - pa_volume_t base_volume; -} sink_details; -*/ - GType active_sink_get_type (void) G_GNUC_CONST; void active_sink_populate (ActiveSink* sink, const pa_sink_info* update); + gboolean active_sink_is_populated (ActiveSink* sink); -gboolean active_sink_is_muted (ActiveSink* self); +void active_sink_determine_blocking_state (ActiveSink* self); + gint active_sink_get_index (ActiveSink* self); SoundState active_sink_get_state (ActiveSink* self); +void active_sink_deactivate (ActiveSink* self); + void active_sink_update_volume (ActiveSink* self, gdouble vol_percent); void active_sink_update_mute (ActiveSink* self, gboolean muted); |