From 649c982222f520fdd4afae8880c622437d4ba585 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 30 Mar 2009 20:19:32 +0200 Subject: Use pa_source_set_max_rewind_within_thread() for updating the monitor source's max_rewind --- 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 1fe8f592..73ad247d 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -1798,7 +1798,7 @@ void pa_sink_set_max_rewind_within_thread(pa_sink *s, size_t max_rewind) { } if (s->monitor_source) - pa_source_set_max_rewind(s->monitor_source, s->thread_info.max_rewind); + pa_source_set_max_rewind_within_thread(s->monitor_source, s->thread_info.max_rewind); } /* Called from main thread */ -- cgit