diff options
Diffstat (limited to 'src/modules/module-esound-sink.c')
-rw-r--r-- | src/modules/module-esound-sink.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/module-esound-sink.c b/src/modules/module-esound-sink.c index 08387163a..54fed658c 100644 --- a/src/modules/module-esound-sink.c +++ b/src/modules/module-esound-sink.c @@ -213,9 +213,8 @@ 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 (u->sink->thread_info.rewind_requested) + pa_sink_process_rewind(u->sink, 0); if (u->rtpoll_item) { struct pollfd *pollfd; |