summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-09-29 10:17:37 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-10-10 13:25:35 +0530
commitf9b59e457c5073372dfdd2d023f743e7d8b016f6 (patch)
treea5e68d9f31ec550631b154707379406796062b7a
parent3f5c5582f46ecd99a1c9e8a2dbad94d56df45465 (diff)
echo-cancel: Remove redundant variable
-rw-r--r--src/modules/echo-cancel/module-echo-cancel.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/echo-cancel/module-echo-cancel.c b/src/modules/echo-cancel/module-echo-cancel.c
index 10f411887..325014a73 100644
--- a/src/modules/echo-cancel/module-echo-cancel.c
+++ b/src/modules/echo-cancel/module-echo-cancel.c
@@ -166,7 +166,6 @@ struct userdata {
pa_bool_t need_realign;
/* to wakeup the source I/O thread */
- pa_bool_t in_push;
pa_asyncmsgq *asyncmsgq;
pa_rtpoll_item *rtpoll_item_read, *rtpoll_item_write;
@@ -653,11 +652,9 @@ static void source_output_push_cb(pa_source_output *o, const pa_memchunk *chunk)
return;
}
- /* handle queued messages */
- u->in_push = TRUE;
+ /* handle queued messages, do any message sending of our own */
while (pa_asyncmsgq_process_one(u->asyncmsgq) > 0)
;
- u->in_push = FALSE;
if (pa_atomic_cmpxchg (&u->request_resync, 1, 0)) {
do_resync(u);