Warn on loading module-equalizer-sink

See objections to the code in this email:

http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-March/020174.html
Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
This commit is contained in:
Alexander E. Patrakov 2014-12-04 20:34:08 +05:00 committed by David Henningsson
parent baf7b985fb
commit d72cb78d4c

View file

@ -1096,6 +1096,10 @@ int pa__init(pa_module*m) {
pa_assert(m);
pa_log_warn("module-equalizer-sink is currently unsupported, and can sometimes cause "
"PulseAudio crashes, increased latency or audible artifacts.");
pa_log_warn("If you're facing audio problems, try unloading this module as a potential workaround.");
if (!(ma = pa_modargs_new(m->argument, valid_modargs))) {
pa_log("Failed to parse module arguments.");
goto fail;