filters: Fix the master source/sink when autoloaded
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 23 Nov 2011 11:16:12 +0000 (16:46 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 24 Nov 2011 07:05:48 +0000 (12:35 +0530)
commitaaf0f5bd6e29c86dd5b96f2185bedc520d745ad4
treef85c52053a94119ead29858035d5968ef8c39621
parentac3d66f978f4276317e11ba9f1f156926a90b30c
filters: Fix the master source/sink when autoloaded

When autoloaded, it is expected that module-filter-apply (or whatever is
loading us) will take care of applying the filter on the correct
sink/source master. Instead of adding complexity by tracking what is
currently being filtered, we just disallow filtering anything except the
original master sink/source and let module-filter-apply or whatever is
loading us deal with dynamic sink/source changes.
src/modules/echo-cancel/module-echo-cancel.c
src/modules/module-equalizer-sink.c