summaryrefslogtreecommitdiff
path: root/src/sink.h
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-19 09:00:01 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-19 09:00:01 +0100
commite9f4a40262232e5687711c6325421cfd4c69065f (patch)
tree84277ebd27f4c9c7dbb486e970fe461fd79f0874 /src/sink.h
parentce10176ea73bf6a9db11a503102d4fa9363fc587 (diff)
downloadpa-sink-ctl-e9f4a40262232e5687711c6325421cfd4c69065f.tar.gz
pa-sink-ctl-e9f4a40262232e5687711c6325421cfd4c69065f.tar.bz2
pa-sink-ctl-e9f4a40262232e5687711c6325421cfd4c69065f.zip
Implement "down" for both sink and source list
Diffstat (limited to 'src/sink.h')
-rw-r--r--src/sink.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sink.h b/src/sink.h
index d3a9362..15c51c9 100644
--- a/src/sink.h
+++ b/src/sink.h
@@ -44,10 +44,19 @@ struct vol_ctl {
void (*childs_foreach)(struct vol_ctl *ctx, GFunc func, gpointer udata);
};
+struct main_ctl {
+ struct vol_ctl base;
+ gint priority;
+ struct context *ctx;
+
+ GList **childs_list;
+};
+
struct sink {
struct vol_ctl base;
gint priority;
struct context *ctx;
+ GList **childs_list;
};
struct sink_input {
@@ -55,6 +64,11 @@ struct sink_input {
guint32 sink;
};
+struct slave_ctl {
+ struct vol_ctl base;
+ guint32 parent_index;
+};
+
struct source_output {
struct vol_ctl base;
guint32 source;
@@ -64,6 +78,7 @@ struct source {
struct vol_ctl base;
gint priority;
struct context *ctx;
+ GList **childs_list;
};
#endif