echo-cancel: Fix drift timer restart logic across suspend
authorArun Raghavan <arun@accosted.net>
Mon, 4 Aug 2014 08:21:48 +0000 (13:51 +0530)
committerArun Raghavan <arun@accosted.net>
Mon, 18 Aug 2014 02:58:06 +0000 (08:28 +0530)
commit6fdddf45f74859381b2099149e4f5888d5464274
treebdbef8add9237f8f7b9accc05da73365566b53c2
parent1b600a2d548f4ccb6c403a9b1de17da07b64d74c
echo-cancel: Fix drift timer restart logic across suspend

The IS_ACTIVE() macro does a pa_sink/source_get_state() on our sink and
source, which does not work in the state change callback, since the
state is not actually committed at that point.
src/modules/echo-cancel/module-echo-cancel.c