From f0e5cd1613ca5dce13e475dade522830743b0919 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Jun 2008 21:57:44 +0200 Subject: handle rewind requests --- src/modules/module-combine.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/modules/module-combine.c b/src/modules/module-combine.c index 7d8e140b..0a0b8d20 100644 --- a/src/modules/module-combine.c +++ b/src/modules/module-combine.c @@ -286,6 +286,10 @@ static void thread_func(void *userdata) { for (;;) { int ret; + if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) + if (u->sink->thread_info.rewind_requested) + pa_sink_process_rewind(u->sink, 0); + /* If no outputs are connected, render some data and drop it immediately. */ if (PA_SINK_IS_OPENED(u->sink->thread_info.state) && !u->thread_info.active_outputs) { pa_usec_t now; -- cgit