From 068f5d5eef1cab3615f9899e0e458d59e54e95a2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 25 Jul 2007 14:46:40 +0000 Subject: drop chunk argument from various drop() functions, since it doesn't make any sense if we want to guarantee always monotonously increasing read pointers; a couple of other fixes git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1529 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/sink.c') diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index 5a79a41c..a66097bc 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -326,7 +326,7 @@ static void inputs_drop(pa_sink *s, pa_mix_info *info, unsigned n, size_t length } /* Drop read data */ - pa_sink_input_drop(i, m ? &m->chunk : NULL, length); + pa_sink_input_drop(i, length); if (m) { pa_sink_input_unref(m->userdata); -- cgit