aboutsummaryrefslogtreecommitdiff
path: root/src/active-sink.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-02-03 17:00:30 +0000
committerConor Curran <conor.curran@canonical.com>2011-02-03 17:00:30 +0000
commit7070e44eced4d173c0e175948b3da4ca9f9497b9 (patch)
tree28f75e49603533ecb3175ecec290bb6c1627cb6d /src/active-sink.h
parent513679bbf8169e69a6d78aa924c4f5b034c818b2 (diff)
downloadayatana-indicator-sound-7070e44eced4d173c0e175948b3da4ca9f9497b9.tar.gz
ayatana-indicator-sound-7070e44eced4d173c0e175948b3da4ca9f9497b9.tar.bz2
ayatana-indicator-sound-7070e44eced4d173c0e175948b3da4ca9f9497b9.zip
starting to make sense
Diffstat (limited to 'src/active-sink.h')
-rw-r--r--src/active-sink.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/active-sink.h b/src/active-sink.h
index 240f43e..12083b8 100644
--- a/src/active-sink.h
+++ b/src/active-sink.h
@@ -24,7 +24,7 @@
#include <glib-object.h>
#include <libdbusmenu-glib/menuitem.h>
#include "common-defs.h"
-
+#include <pulse/pulseaudio.h>
G_BEGIN_DECLS
@@ -38,7 +38,6 @@ G_BEGIN_DECLS
typedef struct _ActiveSink ActiveSink;
typedef struct _ActiveSinkClass ActiveSinkClass;
-
struct _ActiveSink {
GObject parent;
};
@@ -47,6 +46,16 @@ struct _ActiveSinkClass {
GObjectClass parent_class;
};
+typedef struct {
+ gchar* name;
+ gint index;
+ pa_cvolume volume;
+ pa_channel_map channel_map;
+ gboolean mute;
+ pa_volume_t base_volume;
+} sink_details;
+
+
GType active_sink_get_type (void) G_GNUC_CONST;
G_END_DECLS