From 0b66ce027d9fab70a01ada23f6b77035bbf6719f Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Sat, 30 Jan 2010 13:41:18 +0000 Subject: pulse functionality refactored out inot to a separate PA file(s), sink details now stored in hash, complete list of events subscribed to, get sink list method added to the dbus service --- src/sound-service-dbus.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/sound-service-dbus.h') diff --git a/src/sound-service-dbus.h b/src/sound-service-dbus.h index 2210eac..784acee 100644 --- a/src/sound-service-dbus.h +++ b/src/sound-service-dbus.h @@ -40,10 +40,6 @@ typedef struct _SoundData SoundData; struct _SoundData { - gchar *client_name; - gint64 sink_index; - gboolean *muted; - SoundServiceDbus *service; }; @@ -61,11 +57,11 @@ 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 set_pa_sinks_hash(SoundServiceDbus *self, GHashTable *sinks); // DBUS METHODS gboolean sound_service_dbus_set_sink_volume(SoundServiceDbus* service, const guint volume_percent, GError** gerror); - - +GList *sound_service_dbus_get_sink_list(SoundServiceDbus* service); G_END_DECLS -- cgit v1.2.3