aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-10 11:33:36 +0000
committerConor Curran <conor.curran@canonical.com>2010-02-10 11:33:36 +0000
commitb51a53a2f2c6cbe23d4f6269360699e225bd30aa (patch)
tree83aa9969c1b85175bda295c29d4c208075301f7a /src/sound-service-dbus.h
parentd15e61753ff8d715f60d074eb280bdb89d8f00ee (diff)
downloadayatana-indicator-sound-b51a53a2f2c6cbe23d4f6269360699e225bd30aa.tar.gz
ayatana-indicator-sound-b51a53a2f2c6cbe23d4f6269360699e225bd30aa.tar.bz2
ayatana-indicator-sound-b51a53a2f2c6cbe23d4f6269360699e225bd30aa.zip
mute init/revert now working properly plus dbus signal tidy up on the blocking message
Diffstat (limited to 'src/sound-service-dbus.h')
-rw-r--r--src/sound-service-dbus.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sound-service-dbus.h b/src/sound-service-dbus.h
index 3103d98..223f766 100644
--- a/src/sound-service-dbus.h
+++ b/src/sound-service-dbus.h
@@ -50,13 +50,14 @@ struct _SoundServiceDbus {
struct _SoundServiceDbusClass {
GObjectClass parent_class;
/* Signals -> outward messages to the DBUS and beyond*/
- void (* sink_input_while_muted) (SoundServiceDbus *self, gint sink_index, gboolean is_muted, gpointer sound_data);
+ // TODO - ARE THESE NECESSARY ?
+ void (* sink_input_while_muted) (SoundServiceDbus *self, gboolean block_value, gpointer sound_data);
void (* sink_volume_update) (SoundServiceDbus *self, gdouble sink_volume, gpointer sound_data);
};
GType sound_service_dbus_get_type (void) G_GNUC_CONST;
// Utility methods to get the messages across into the sound-service-dbus
-void sound_service_dbus_sink_input_while_muted (SoundServiceDbus* obj, gint sink_index, gboolean value);
+void sound_service_dbus_sink_input_while_muted (SoundServiceDbus* obj, gboolean block_value);
void sound_service_dbus_update_sink_volume(SoundServiceDbus* obj, gdouble sink_volume);
void sound_service_dbus_update_sink_mute(SoundServiceDbus* obj, gboolean sink_mute);