Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master branch can't find ladspa effects #2159

Closed
Umcaruje opened this issue Jul 4, 2015 · 2 comments
Closed

Master branch can't find ladspa effects #2159

Umcaruje opened this issue Jul 4, 2015 · 2 comments
Labels
Milestone

Comments

@Umcaruje
Copy link
Member

Umcaruje commented Jul 4, 2015

In the master branch, LMMS does not seem to find any of the ladspa effects that come shipped with it. It finds all my external ladspa's from the hard-coded places fine (/usr/lib/ladspa and ~/ladspa).

I suspect that this has something to do with #1908, since that was the only major thing that has changed about the ladspa paths that I can think of.

I also can't seem to change my ladspa paths in the settings dialog. They seem to reset to their default value whenever I restart LMMS.

@Umcaruje Umcaruje added the bug label Jul 4, 2015
@Wallacoloo
Copy link
Member

I have similar issues. In my case, my ladspa path in the settings dialog looks like /usr/local/bin/../lib//ladspa/,/home/colin/lmms/plugins/ladspa/, and I cannot modify it. The double slash looks indicative of a possible error somewhere. Indeed, if I symlink /usr/local/lib/ladspa to /usr/local/lib/lmms/ladspa, then LMMS can properly find the effects.

I'm thinking ConfigManager.cpp:380 is in part to blame for this incorrect default path. The line looks like:

m_ladDir = qApp->applicationDirPath() + '/' + LIB_DIR + "/ladspa/";

and is #if'd in order to only run on Linux. For apple, we have

m_ladDir = qApp->applicationDirPath() + "/../lib/lmms/ladspa/";

It's hard for me to trace back the definition of LIB_DIR completely, but it appears to be calculated on DetectMachine.cmake:40 and then sent into the compiler on CmakeLists.txt:41

@tresf tresf added this to the 1.2.0 milestone Jul 4, 2015
@musikBear
Copy link

LMMS does not seem to find any of the ladspa effects that come shipped with it.

On @Umcaruje your 1.1.3.01.07.15 binary Master, i have noticed that it takes ~ 3-5 times longer, to open the FX-collection (both on mixer fx-tab, and on preset-fx-tab) , compared to time on the 1.1.3 -Could the prolonged time be related to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants