From 7070e44eced4d173c0e175948b3da4ca9f9497b9 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Thu, 3 Feb 2011 17:00:30 +0000 Subject: starting to make sense --- src/active-sink.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/active-sink.h') 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 #include #include "common-defs.h" - +#include 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 -- cgit v1.2.3