From 1514d138353f04578d885d9cb18c528d9b562a83 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 26 Jun 2008 00:39:31 +0200 Subject: split pa_memblockq_flush() into two flush commands, one which fixes up the read ptr, and one which fixes up the write ptr --- src/pulsecore/sink-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/sink-input.c') diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index 43e7bb21..be169709 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -664,7 +664,7 @@ void pa_sink_input_process_rewind(pa_sink_input *i, size_t nbytes /* in sink sam /* We were asked to drop all buffered data, and rerequest new * data from implementor the next time push() is called */ - pa_memblockq_flush(i->thread_info.render_memblockq); + pa_memblockq_flush_write(i->thread_info.render_memblockq); } else if (i->thread_info.rewrite_nbytes > 0) { size_t max_rewrite, amount; -- cgit