echo-cancel: Don't allow streams to attach while unloading
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 29 Aug 2011 12:17:39 +0000 (17:47 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 29 Aug 2011 16:12:57 +0000 (21:42 +0530)
commit837ac4c225929ebe2f2a5866b9ccebd74ba587d1
treea4793f84f3ba9f8dbc4c0107235229b32d8117b2
parentfe52c351c3890a6464eef1fd2185234577e3d149
echo-cancel: Don't allow streams to attach while unloading

When unloading, some module may end up trin to move a sink-input or
source-output back onto our virtual sink/source, causing an infinite
loop of us moving the stream away and having it moved back.

We prevent this from happening by preventing any stream from being
attached during unload.
src/modules/echo-cancel/module-echo-cancel.c