projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
913bbd4
)
handle rewind requests
author
Lennart Poettering
<lennart@poettering.net>
Fri, 27 Jun 2008 19:57:44 +0000
(21:57 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 27 Jun 2008 19:57:44 +0000
(21:57 +0200)
src/modules/module-combine.c
patch
|
blob
|
history
diff --git
a/src/modules/module-combine.c
b/src/modules/module-combine.c
index
7d8e140
..
0a0b8d2
100644
(file)
--- 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;