aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-06-09 09:41:20 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-06-09 09:41:20 +0000
commit07d56428c7f1076ae0e6a60f89108077181761de (patch)
treee2acf9de479b76d1cc8a29d4182df4b1b384a68e
parent868417b995e35c129eb2e76e5764521e4701dc9e (diff)
got rid of the "no LADSPA_PATH" warning
svn path=/trunk/externals/plugin~/; revision=13625
-rw-r--r--jsearch.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/jsearch.c b/jsearch.c
index 454cedf..82a840c 100644
--- a/jsearch.c
+++ b/jsearch.c
@@ -70,20 +70,20 @@ LADSPADirectoryPluginSearch (const char * pcDirectory,
dlerror();
fDescriptorFunction
- = (LADSPA_Descriptor_Function)dlsym(pvPluginHandle,
- "ladspa_descriptor");
+ = (LADSPA_Descriptor_Function)dlsym(pvPluginHandle,
+ "ladspa_descriptor");
if (dlerror() == NULL && fDescriptorFunction) {
- /* We've successfully found a ladspa_descriptor function. Pass
+ /* We've successfully found a ladspa_descriptor function. Pass
it to the callback function. */
- fCallbackFunction(pcFilename,
- pvPluginHandle,
- fDescriptorFunction,
- user_data);
- dlclose (pvPluginHandle);
+ fCallbackFunction(pcFilename,
+ pvPluginHandle,
+ fDescriptorFunction,
+ user_data);
+ dlclose (pvPluginHandle);
}
else {
- /* It was a library, but not a LADSPA one. Unload it. */
- dlclose(pcFilename);
+ /* It was a library, but not a LADSPA one. Unload it. */
+ dlclose(pcFilename);
}
}
}
@@ -103,7 +103,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCallbackFunction fCallbackFunction,
pcLADSPAPath = getenv("LADSPA_PATH");
if (!pcLADSPAPath) {
- fprintf(stderr, "Warning: no LADSPA_PATH, assuming /usr/lib/ladspa:/usr/local/lib/ladspa\n");
+ //fprintf(stderr, "Warning: no LADSPA_PATH, assuming /usr/lib/ladspa:/usr/local/lib/ladspa\n");
pcLADSPAPath = "/usr/lib/ladspa:/usr/local/lib/ladspa";
}