diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-19 09:00:01 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-19 09:00:01 +0100 |
commit | e9f4a40262232e5687711c6325421cfd4c69065f (patch) | |
tree | 84277ebd27f4c9c7dbb486e970fe461fd79f0874 /src/sink.h | |
parent | ce10176ea73bf6a9db11a503102d4fa9363fc587 (diff) | |
download | pa-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.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |