diff options
Diffstat (limited to 'src/active-sink.h')
-rw-r--r-- | src/active-sink.h | 13 |
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 |