correct a recording bug in native protocol

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@181 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-09-06 18:55:47 +00:00
parent 566e469bbe
commit 3536be420c
4 changed files with 11 additions and 8 deletions

View file

@ -158,7 +158,7 @@ int pa_sink_render(struct pa_sink*s, size_t length, struct pa_memchunk *result)
unsigned n;
size_t l;
assert(s && length && result);
n = fill_mix_info(s, info, MAX_MIX_CHANNELS);
if (n <= 0)