summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryounix <web2p10@wemelug.de>2010-11-04 13:45:38 +0100
committeryounix <web2p10@wemelug.de>2010-11-04 13:45:38 +0100
commitf61c045172252232f58dafa6208f7afe16487b82 (patch)
treea93d6e24eb6275df7ec3e649709b24d43d3c5b26
parent2c6e80e1741707fec58bb3e5c114079a9d7ccaa5 (diff)
downloadpa-sink-ctl-f61c045172252232f58dafa6208f7afe16487b82.tar.gz
pa-sink-ctl-f61c045172252232f58dafa6208f7afe16487b82.tar.bz2
pa-sink-ctl-f61c045172252232f58dafa6208f7afe16487b82.zip
add comment
-rw-r--r--src/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface.c b/src/interface.c
index a4a03cb..11ba6be 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -29,9 +29,9 @@ static guint32 selected_index;
void interface_init(void)
{
- chooser_sink = 0;
- chooser_input = -1;
-
+ chooser_sink = 0; /* Selected sink-device. 0 is the first device */
+ chooser_input = -1; /* Selected input of the current sink-device. */
+ /* -1 means the sink-device itself */
initscr();
clear();