diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-18 22:31:19 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-18 22:31:19 +0100 |
commit | ce10176ea73bf6a9db11a503102d4fa9363fc587 (patch) | |
tree | 0ef9070b2f06bdb9914ac6b410378e3e645b77ce /src/sink.h | |
parent | 971aa19546d72ba5e6dc78216a57aa6de0fc1c66 (diff) | |
download | pa-sink-ctl-ce10176ea73bf6a9db11a503102d4fa9363fc587.tar.gz pa-sink-ctl-ce10176ea73bf6a9db11a503102d4fa9363fc587.tar.bz2 pa-sink-ctl-ce10176ea73bf6a9db11a503102d4fa9363fc587.zip |
Initial support for displaying source outputs
Diffstat (limited to 'src/sink.h')
-rw-r--r-- | src/sink.h | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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; |