]> code.delx.au - pulseaudio/commitdiff
match: document how broken the module-match logic is
authorLennart Poettering <lennart@poettering.net>
Wed, 19 Aug 2009 00:37:35 +0000 (02:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 Aug 2009 00:37:35 +0000 (02:37 +0200)
src/modules/module-match.c

index 625f2a8bbad389b64681e4ec88ae746387884a61..14e01127f10999cf2e25303e76304481c772c367 100644 (file)
@@ -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);