some more work on the cli

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@24 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-06-19 01:01:09 +00:00
parent 382e7aefd4
commit 56f8c953dd
13 changed files with 458 additions and 58 deletions

View file

@ -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);