summaryrefslogtreecommitdiff
path: root/src/sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink.h')
-rw-r--r--src/sink.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/sink.h b/src/sink.h
index 304e3fc..8c0c33d 100644
--- a/src/sink.h
+++ b/src/sink.h
@@ -23,22 +23,25 @@
#include <glib.h>
#include <pulse/pulseaudio.h>
-struct sink_info {
+struct context;
+
+struct vol_ctl_object {
guint32 index;
- gchar* name;
+ pa_volume_t vol; // TOTO: exchange with the channel-list
gint mute;
guint8 channels;
- pa_volume_t vol;
+
+ gchar *name; /* displayed name */
+};
+
+struct sink_info {
+ struct vol_ctl_object base;
gint priority;
};
struct sink_input_info {
- guint32 index;
+ struct vol_ctl_object base;
guint32 sink;
- gchar *name;
- gint mute;
- guint8 channels;
- pa_volume_t vol; // TOTO: exchange with the channel-list
};
#endif