aboutsummaryrefslogtreecommitdiff
path: root/src/pulse-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse-manager.h')
-rw-r--r--src/pulse-manager.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pulse-manager.h b/src/pulse-manager.h
index 0567b5d..39ae41c 100644
--- a/src/pulse-manager.h
+++ b/src/pulse-manager.h
@@ -30,13 +30,13 @@
typedef struct {
- const gchar* name;
- const gchar* description;
- const gchar* icon_name;
+ gchar* name;
+ gchar* description;
+ gchar* icon_name;
gint index;
gint device_index;
- pa_cvolume volume;
- pa_channel_map channel_map;
+// pa_cvolume volume;
+// pa_channel_map channel_map;
gboolean mute;
gboolean active_port;
} sink_info;
@@ -45,7 +45,7 @@ typedef struct {
//void set_volume(gint sink_index, gint volume_percent);
pa_context* get_context(void);
void establish_pulse_activities(SoundServiceDbus *service);
-void set_sink_volume(gint sink_index, gint percent);
+void set_sink_volume(guint percent);
void toggle_global_mute(gboolean mute_value);