summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander E. Patrakov <patrakov@gmail.com>2014-12-04 20:34:09 +0500
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-12-08 14:23:53 +0200
commite2a433b222e2d4b6e85062b979e8ed3dae113aca (patch)
tree1ab8e7f1b6f45e8f9b96a301a3e55695fb65dfde
parent162adb9873f8ec0faf6dad4a11d266961f116a9e (diff)
Warn on loading module-dbus-protocol
See also https://www.mail-archive.com/ubuntu-audio-dev@lists.launchpad.net/msg00268.html The warning may be useful for users who carried over the module-loading statement from default configuration files shipped with old PulseAudio versions. Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
-rw-r--r--src/modules/dbus/module-dbus-protocol.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/dbus/module-dbus-protocol.c b/src/modules/dbus/module-dbus-protocol.c
index ab5546f50..e5f122181 100644
--- a/src/modules/dbus/module-dbus-protocol.c
+++ b/src/modules/dbus/module-dbus-protocol.c
@@ -529,6 +529,11 @@ int pa__init(pa_module *m) {
pa_assert(m);
+ pa_log_warn("module-dbus-protocol is currently unsupported, and can sometimes cause PulseAudio crashes.");
+ pa_log_warn("The most popular use cases for module-dbus-protocol are related to changing "
+ "equalizer settings and LADSPA plugin parameters at runtime.");
+ pa_log_warn("If you don't use such functionality, it's possible that you don't actually need this module.");
+
if (!(ma = pa_modargs_new(m->argument, valid_modargs))) {
pa_log("Failed to parse module arguments.");
goto fail;