aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-01-28 18:26:00 +0000
committerConor Curran <conor.curran@canonical.com>2010-01-28 18:26:00 +0000
commit93ae69dcd77bc81c3146c2321eb12226cd7704df (patch)
tree0aacaafacbc063d32b1e04477daa2e3599433de2 /src/sound-service.h
parent7ec9f75f2a0cdf13a3728c18a33dca9e327e2bf2 (diff)
downloadayatana-indicator-sound-93ae69dcd77bc81c3146c2321eb12226cd7704df.tar.gz
ayatana-indicator-sound-93ae69dcd77bc81c3146c2321eb12226cd7704df.tar.bz2
ayatana-indicator-sound-93ae69dcd77bc81c3146c2321eb12226cd7704df.zip
slider event detection hooked up, method also defined on server side but there is a compilation problem which for the life of me i cannot see what i'm doing wrong
Diffstat (limited to 'src/sound-service.h')
-rw-r--r--src/sound-service.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sound-service.h b/src/sound-service.h
index 0687ad0..7b8f758 100644
--- a/src/sound-service.h
+++ b/src/sound-service.h
@@ -62,6 +62,18 @@ static void rebuild_sound_menu(DbusmenuMenuitem *root, SoundServiceDbus *service
static gboolean all_muted = FALSE;
static void set_global_mute();
+//static void set_volume(gint sink_index, gint volume_percent);
+
+typedef struct {
+ gchar* name;
+ gchar* description;
+ gchar* icon_name;
+ gint index;
+ gint device_index;
+ pa_cvolume volume;
+ pa_channel_map channel_map;
+ gboolean mute;
+} device_info;
// ENTRY AND EXIT POINTS
void service_shutdown(IndicatorService * service, gpointer user_data);