From: Arun Raghavan Date: Thu, 29 Sep 2011 04:47:37 +0000 (+0530) Subject: echo-cancel: Remove redundant variable X-Git-Tag: 1.0_branch~316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9b59e457c5073372dfdd2d023f743e7d8b016f6;p=profile%2Fivi%2Fpulseaudio.git echo-cancel: Remove redundant variable --- diff --git a/src/modules/echo-cancel/module-echo-cancel.c b/src/modules/echo-cancel/module-echo-cancel.c index 10f4118..325014a 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);