aboutsummaryrefslogtreecommitdiff
path: root/src/pulse-manager.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-03 22:02:41 -0800
committerConor Curran <conor.curran@canonical.com>2010-02-03 22:02:41 -0800
commit60ea7aa0f6219a69d05b658cba562d1e2c6104e2 (patch)
tree30107d5272dc0eb1226e314b5f160899059a6e97 /src/pulse-manager.h
parent54209010fc5b99fd7074ae1271cfea86abaea5c6 (diff)
downloadayatana-indicator-sound-60ea7aa0f6219a69d05b658cba562d1e2c6104e2.tar.gz
ayatana-indicator-sound-60ea7aa0f6219a69d05b658cba562d1e2c6104e2.tar.bz2
ayatana-indicator-sound-60ea7aa0f6219a69d05b658cba562d1e2c6104e2.zip
slider now works from the safe side of the dbusmenu
Diffstat (limited to 'src/pulse-manager.h')
-rw-r--r--src/pulse-manager.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/pulse-manager.h b/src/pulse-manager.h
index fa076d5..5271628 100644
--- a/src/pulse-manager.h
+++ b/src/pulse-manager.h
@@ -2,32 +2,6 @@
#include <glib.h>
#include "sound-service-dbus.h"
-//enum SinkInputType {
-// SINK_INPUT_ALL,
-// SINK_INPUT_CLIENT,
-// SINK_INPUT_VIRTUAL
-//};
-
-//enum SinkType {
-// SINK_ALL,
-// SINK_HARDWARE,
-// SINK_VIRTUAL,
-//};
-
-//enum SourceOutputType {
-// SOURCE_OUTPUT_ALL,
-// SOURCE_OUTPUT_CLIENT,
-// SOURCE_OUTPUT_VIRTUAL
-//};
-
-//enum SourceType {
-// SOURCE_ALL,
-// SOURCE_NO_MONITOR,
-// SOURCE_HARDWARE,
-// SOURCE_VIRTUAL,
-// SOURCE_MONITOR,
-//};
-
typedef struct {
gchar* name;
@@ -43,10 +17,9 @@ typedef struct {
} sink_info;
-//void set_volume(gint sink_index, gint volume_percent);
pa_context* get_context(void);
void establish_pulse_activities(SoundServiceDbus *service);
-void set_sink_volume(guint percent);
+void set_sink_volume(gdouble percent);
void toggle_global_mute(gboolean mute_value);