Use pa_source_set_max_rewind_within_thread() for updating the monitor source's max_rewind

This commit is contained in:
Lennart Poettering 2009-03-30 20:19:32 +02:00
parent 1743322d3e
commit 649c982222

View file

@ -1798,7 +1798,7 @@ void pa_sink_set_max_rewind_within_thread(pa_sink *s, size_t max_rewind) {
} }
if (s->monitor_source) 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 */ /* Called from main thread */