[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] module-match: Allow loading module more than once

PulseAudio Marge Bot gitlab at gitlab.freedesktop.org
Mon Dec 7 16:21:46 UTC 2020



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
ea69288b by Sanchayan Maity at 2020-12-07T21:38:05+05:30
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>

- - - - -


1 changed file:

- src/modules/module-match.c


Changes:

=====================================
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>");
 



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ea69288b76d94e61c1d2492d87d969f05357cec2

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ea69288b76d94e61c1d2492d87d969f05357cec2
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20201207/3f99c235/attachment.htm>


More information about the pulseaudio-commits mailing list