summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-19 02:37:35 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-19 02:37:35 +0200
commit5207e191424675df74059aaf30f9b1292a05cb5d (patch)
treef32eefe0e225f95cb5e0e56ecaabaf4eb090fa53 /src
parentcfef930036572e2770a4c17e57f139737a99444a (diff)
match: document how broken the module-match logic is
Diffstat (limited to 'src')
-rw-r--r--src/modules/module-match.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/module-match.c b/src/modules/module-match.c
index 625f2a8b..14e01127 100644
--- a/src/modules/module-match.c
+++ b/src/modules/module-match.c
@@ -243,6 +243,9 @@ int pa__init(pa_module*m) {
if (load_rules(u, pa_modargs_get_value(ma, "table", NULL)) < 0)
goto fail;
+ /* FIXME: Doing this asynchronously is just broken. This needs to
+ * use a hook! */
+
u->subscription = pa_subscription_new(m->core, PA_SUBSCRIPTION_MASK_SINK_INPUT, callback, u);
pa_modargs_free(ma);