filter-apply: Mark modules as being autoloaded

(Based on Colin's review) We mark modules as being autoloaded so that
they can handle this as a special case if needed (which is required by
module-echo-cancel for now). This inverts how things were done and makes
using these modules manually less error-prone.
This commit is contained in:
Arun Raghavan 2011-05-02 10:08:27 +05:30
parent 6e319e5182
commit 233ef98bf1
5 changed files with 28 additions and 11 deletions

View file

@ -66,6 +66,9 @@ PA_MODULE_USAGE(
struct userdata {
pa_module *module;
/* FIXME: Uncomment this and take "autoloaded" as a modarg if this is a filter */
/* pa_bool_t autoloaded; */
pa_sink *sink;
pa_sink_input *sink_input;