summaryrefslogtreecommitdiffstats
path: root/src/sinkinput.c
diff options
context:
space:
mode:
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);