summaryrefslogtreecommitdiffstats
path: root/src/modules/module-filter-apply.c
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-05-02 10:11:47 +0530
committerColin Guthrie <colin@mageia.org>2011-05-03 09:13:00 +0100
commit320b70e94ef8a253a954f316550a02fb94eb964d (patch)
tree85e85ec7b650322abd4182af980337d889bc8ff5 /src/modules/module-filter-apply.c
parent6e319e5182b2d9d8d034ee2c9c0ca5027787b0ce (diff)
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.
Diffstat (limited to 'src/modules/module-filter-apply.c')
-rw-r--r--src/modules/module-filter-apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-filter-apply.c b/src/modules/module-filter-apply.c
index 79558f2e..e9c9f65b 100644
--- a/src/modules/module-filter-apply.c
+++ b/src/modules/module-filter-apply.c
@@ -314,7 +314,7 @@ static pa_hook_result_t process(struct userdata *u, pa_object *o, pa_bool_t is_s
char *args;
pa_module *m;
- args = pa_sprintf_malloc("%s_master=%s", is_sink_input ? "sink" : "source", parent_name);
+ args = pa_sprintf_malloc("autoloaded=1 %s_master=%s", is_sink_input ? "sink" : "source", parent_name);
pa_log_debug("Loading %s with arguments '%s'", module_name, args);
if ((m = pa_module_load(u->core, module_name, args))) {