From ea69288b76d94e61c1d2492d87d969f05357cec2 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 23 Jul 2020 20:33:36 +0530 Subject: [PATCH] module-match: Allow loading module more than once As long as modules use different keys, multiple loading of this module should be safe. Even in case of same keys, either the pa_proplist_update should correctly update the property list based on the mode or for the volume writable case, the last rule should win. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/942 Part-of: --- src/modules/module-match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-match.c b/src/modules/module-match.c index 76f71256c..9b5e76cd7 100644 --- a/src/modules/module-match.c +++ b/src/modules/module-match.c @@ -47,7 +47,7 @@ PA_MODULE_AUTHOR("Lennart Poettering"); PA_MODULE_DESCRIPTION("Playback stream expression matching module"); PA_MODULE_VERSION(PACKAGE_VERSION); -PA_MODULE_LOAD_ONCE(true); +PA_MODULE_LOAD_ONCE(false); PA_MODULE_USAGE("table= " "key=");