1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix default LADSPA search paths on Linux.

The default LADSPA search paths should be
/home/<user>/.ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa according to
http://www.ladspa.org/ladspa_sdk/shared_plugins.html

Additional search in the ladspa subdirectory of the system library directory
(which could be /usr/lib/x86_64-linux-gnu/ on Debian, for example).

Bug-Debian: http://bugs.debian.org/724836
Bug-Ubuntu: https://launchpad.net/bugs/1261654
This commit is contained in:
benjamin.drung@gmail.com 2014-05-31 20:01:21 +00:00
parent 32454b3e6e
commit 0fee6939e2

View File

@ -286,8 +286,9 @@ void LoadLadspaPlugins()
wxGetApp().AddMultiPathsToPathList(pathVar, pathList);
#ifdef __WXGTK__
wxGetApp().AddUniquePathToPathList(wxT(INSTALL_PREFIX) wxT("/ladspa"), pathList);
wxGetApp().AddUniquePathToPathList(wxT("~/.ladspa"), pathList);
wxGetApp().AddUniquePathToPathList(wxT("/usr/local/lib/ladspa"), pathList);
wxGetApp().AddUniquePathToPathList(wxT("/usr/lib/ladspa"), pathList);
wxGetApp().AddUniquePathToPathList(wxT(LIBDIR) wxT("/ladspa"), pathList);
#endif