diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-06-27 21:57:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-06-27 21:57:44 +0200 |
commit | f0e5cd1613ca5dce13e475dade522830743b0919 (patch) | |
tree | 5da862bd67572ecbded9cf3636201e1a0897354b /src | |
parent | 913bbd4489799b057a5b47f19843d2d83e1003c1 (diff) |
handle rewind requests
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-combine.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |