From ea417ae84133c26aed0b257376ab1d1c567a9779 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Mon, 8 Feb 2010 17:21:05 +0000 Subject: automatic slider volume updates working --- src/sound-service-dbus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sound-service-dbus.h') diff --git a/src/sound-service-dbus.h b/src/sound-service-dbus.h index bb4fbe8..dc52861 100644 --- a/src/sound-service-dbus.h +++ b/src/sound-service-dbus.h @@ -51,14 +51,14 @@ 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); - void (* sink_volume_update) (SoundServiceDbus *self, gint sink_volume); + 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_update_sink_volume(SoundServiceDbus* obj, gint sink_volume); +void sound_service_dbus_update_sink_volume(SoundServiceDbus* obj, gdouble sink_volume); void set_pa_sinks_hash(SoundServiceDbus *self, GHashTable *sinks); // DBUS METHODS -- cgit v1.2.3