-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Enable LADSPA plugins on MSVC #6758
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need the sys/time.h
replacements at all? I can't see anything from that header being used anywhere outside some commented-out code in plugins/LadspaEffect/caps/interface.cc
.
Thanks for your review Dom.
Apparently, after removing the entire thing, it's still building fine (had to comment out the I also took a look at most of your concerns and fixed most of those. I'll look at the rest later. Another problem with this pr is that the plugins build but don't load in the selecter menu (does this got anything to do with the |
I'd just remove it entirely, along with the commented out
That would be my guess too. Looking at the code in |
For calf and tap, fixes already implemented in the master branches but need to update submodules. I'll go into more detail in #6765 |
opened a pr upstream in swh/ladspa#84 update : it's merged |
@Rossmaxx awesome work! Have you thought about bundling those MSVC powered LADSPA plugins separately? Other Linux-based applications targeting Windows would definitely profit as well. (Availability of LADSPA plugins on Windows is one of main recurring requests at Hydrogen). In addition, your list of plugins is currently missing lsp plugins. It's a more or less recent collection and maybe the best out there yet. It mainly targets LV2 but a lot of those plugins are available as LADSPA as well. |
Thanks.
It's upto the plugin maintainers to choose. I am upstreaming the changes. Swh has merged my changes too. I'll consider later if more requests come.
It's not bundled within lmms either. I am targeting only the bundled ones. I might work on it seperately in the future but can't say anything now. |
Well, depends on their license. But most - if not all - of them are GPL 2(+) licensed which means you do not have to ask for permission to distribute (or modify) the sources and artifacts.
You do not ship them? Anyway. Maybe I will bundle them at some point when I have more time at hand. |
This pr is now ready. |
On MacOS Ventura, I'm getting the following compilation error: In file included from /Users/owner/lmms/plugins/LadspaEffect/calf/veal/src/organ.cpp:24:
- /Users/owner/lmms/plugins/LadspaEffect/calf/veal/src/calf/organ.h:160:19: error: no matching member function for call to 'lerp_table_lookup_float_mask'
- return ph.lerp_table_lookup_float_mask(data, ORGAN_BIG_WAVE_SIZE - 1); |
@tresf I also see this:
I found the faulty change: https://github.com/calf-studio-gear/calf/pull/212/files#diff-a1c8f62ee19cef03296fa3410166e427bd1b151344594675902c2652846d31eaL232-R232 |
Seems like it doesn't break 64bit builds, but 32bit builds fail with this error message:
|
Simplify CMake Policies Per #6758 (comment)
Cherry-pick some changes from PR LMMS#6758 to keep MacOS building.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build fails unless Perl is available because plugins/LadspaEffect/CMakeLists.txt
checks the WANT_*
variables instead of the LMMS_HAVE_*
variables. While that bug wasn't introduced here, it would be good if you could fix it.
Check line 284 and 285 of root cmakelists. |
Did a minor fix to address the missing perl problem. |
CMakeSettings.json
Outdated
@@ -0,0 +1,66 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file supposed to be here? It looks like it may be a local configuration file that accidentally was added. If not, it seems like it will constantly be outdated with paths such as C:/Qt/5.15.2/msvc2019_64
, C:/Strawberry/perl
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dan-giddins that's a visual studio ide config file. Also, the commits you pushed now look ambiguous.
I see that the submodule for src/3rdparty/mingw-std-threads was updated. Is that intended? Does MSVC use this? |
@tresf that change came after the push by dan. That's not supposed to be there. |
Sorry, I did not mean to push commits to this branch! I'm not even sure why I have rights to do this, or how I did it... |
It's because GitHub -- by default -- allows project members to to push to PR'd branches -- and you're a project member.
Stuff happens. :). The more eyes the better! 🍻 |
06b945f
to
3342e17
Compare
wait what, why did this get closed now? |
Bad merge. It's OK, you'll just have to open a new PR once fixed. |
ahh, i messed up the force push |
Title says it. I started from #6240 worked on top of it.
note: From my research, I found that some of these plugins have enabled msvc support upstream,
so I would suggest to downstream some of these changes.(thanks to ghost (who apparently deleted his acct) for the upstream changes).Todo: