summaryrefslogtreecommitdiffstats
path: root/src/sinkinput.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-19 01:01:09 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-19 01:01:09 +0000
commit56f8c953dd609bc5c94011fe4acdd9ef6b875747 (patch)
tree9fb30d4fa48eea2b66f81bd84e16ebc22a9b09c6 /src/sinkinput.c
parent382e7aefd471a4600010a04e6497d4bfd2fd8663 (diff)
some more work on the cli
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@24 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/sinkinput.c')
-rw-r--r--src/sinkinput.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sinkinput.c b/src/sinkinput.c
index f589b4d9..2e6a8c36 100644
--- a/src/sinkinput.c
+++ b/src/sinkinput.c
@@ -22,6 +22,8 @@ struct sink_input* sink_input_new(struct sink *s, struct sample_spec *spec, cons
i->get_latency = NULL;
i->userdata = NULL;
+ i->volume = 0xFF;
+
assert(s->core);
r = idxset_put(s->core->sink_inputs, i, &i->index);
assert(r == 0 && i->index != IDXSET_INVALID);