summaryrefslogtreecommitdiff
path: root/src/sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink.h')
-rw-r--r--src/sink.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/sink.h b/src/sink.h
index e5bfaaa..d3a9362 100644
--- a/src/sink.h
+++ b/src/sink.h
@@ -27,14 +27,14 @@ struct context;
struct vol_ctl {
guint32 index;
- pa_volume_t vol; // TOTO: exchange with the channel-list
- gint mute;
- guint8 channels;
-
gchar *name; /* displayed name */
gint indent; /* indentation when displayed */
gboolean hide_index;
+ pa_volume_t vol; // TOTO: exchange with the channel-list
+ gint mute;
+ guint8 channels;
+
pa_operation *(*mute_set)(pa_context *, guint32, int,
pa_context_success_cb_t, void *);
@@ -55,6 +55,11 @@ struct sink_input {
guint32 sink;
};
+struct source_output {
+ struct vol_ctl base;
+ guint32 source;
+};
+
struct source {
struct vol_ctl base;
gint priority;