From 5207e191424675df74059aaf30f9b1292a05cb5d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 19 Aug 2009 02:37:35 +0200 Subject: match: document how broken the module-match logic is --- src/modules/module-match.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit