diff options
author | Sanchayan Maity <sanchayan@asymptotic.io> | 2020-07-23 20:33:36 +0530 |
---|---|---|
committer | Sanchayan Maity <sanchayan@asymptotic.io> | 2020-12-07 21:38:05 +0530 |
commit | ea69288b76d94e61c1d2492d87d969f05357cec2 (patch) | |
tree | f0f033a4feaee43557457de74b8b1c23190b7b2e | |
parent | 71aa4720a4194e9602271634d9042b8e56a8217f (diff) | |
download | pulseaudio-ea69288b76d94e61c1d2492d87d969f05357cec2.tar.gz |
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: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/332>
-rw-r--r-- | src/modules/module-match.c | 2 |
1 files changed, 1 insertions, 1 deletions
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=<filename> " "key=<property_key>"); |