From 503774d20c79b0c359cf52a302560b8788d13d99 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 1 Jan 2016 18:42:08 +0000 Subject: ladspa: fixed multiband eq (1197) support (#416) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5949 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Effect/ladspa/ladspahost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Effect/ladspa') diff --git a/src/plugins/Effect/ladspa/ladspahost.cpp b/src/plugins/Effect/ladspa/ladspahost.cpp index ff4078f4b..0875384bc 100644 --- a/src/plugins/Effect/ladspa/ladspahost.cpp +++ b/src/plugins/Effect/ladspa/ladspahost.cpp @@ -167,7 +167,7 @@ LADSPAEffect *LADSPAHost::load(const QString &filename, long int num) LADSPAEffect *instance = new LADSPAEffect; instance->fileName = filename; - instance->library = dlopen(qPrintable(filename), RTLD_NOW); + instance->library = dlopen(qPrintable(filename), RTLD_NOW | RTLD_DEEPBIND); instance->handle = 0; instance->handle2 = 0; if (!instance->library) @@ -368,7 +368,7 @@ void LADSPAHost::findPlugins(const QString &path_entry) foreach(QFileInfo file, files) { - library = dlopen(qPrintable(file.absoluteFilePath ()), RTLD_LAZY); + library = dlopen(qPrintable(file.absoluteFilePath ()), RTLD_NOW | RTLD_DEEPBIND); if (library == 0) { continue; -- cgit v1.2.3-13-gbd6f