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

lmms 1.2.0-rc7 fails to build with fluidsynth 2.0.0 #4640

Closed
dvzrv opened this issue Oct 1, 2018 · 17 comments
Closed

lmms 1.2.0-rc7 fails to build with fluidsynth 2.0.0 #4640

dvzrv opened this issue Oct 1, 2018 · 17 comments
Assignees
Milestone

Comments

@dvzrv
Copy link

dvzrv commented Oct 1, 2018

I'm currently rebuilding a bunch of software against fluidsynth 2.0.0 on Arch Linux.
Sadly that introduced an API change.

LMMS currently fails to build with it:
lmms-1.2.0rc7-fluidsynth2.0.txt

Any help in integrating/patching the sf2_player would be greatly appreciated!
Plus, I think this should probably be fixed before releasing 1.2.0!

@PhysSong
Copy link
Member

PhysSong commented Oct 1, 2018

Thank you for reporting! I'll look into this.

@PhysSong
Copy link
Member

PhysSong commented Oct 3, 2018

There are two types of errors:

I'll work on it in a few days and provide a fix.

@dvzrv
Copy link
Author

dvzrv commented Oct 3, 2018

@PhysSong thanks for the fast reply!

Please note: During rebuilding against fluidsynth 2.0.0, I realized, that nearly none of the projects implementing it, are compatible to the new API.
Keep in mind: Ideally LMMS should be compatible to 1.x and 2.x. Linux distributions will only be able to use the new API, once all projects have switched (or are able to implement both APIs).

@tresf tresf added this to the 1.2.0 milestone Oct 4, 2018
@PhysSong
Copy link
Member

PhysSong commented Oct 7, 2018

@dvzrv Can you test if my fluidsynth2 branch compiles with FluidSynth 2.0?

@dvzrv
Copy link
Author

dvzrv commented Oct 8, 2018

@PhysSong will try to do that later today! Thanks! :)

@trebmuh
Copy link
Contributor

trebmuh commented Oct 8, 2018

Please, note that a new 2.0.1 version as been released yesterday.

@schnitzeltony
Copy link
Contributor

Have sent similar for carla (see falkTX/Carla#765) and looked into https://github.com/PhysSong/lmms/tree/fluidsynth2. Wouldn't it be better to ask fluidsynth on first instantiation for default values instead of pinning them?

@trebmuh
Copy link
Contributor

trebmuh commented Oct 11, 2018

For reference, done by @schnitzeltony as well : Calf & fluidsynth 2.0.

@PhysSong
Copy link
Member

Wouldn't it be better to ask fluidsynth on first instantiation for default values instead of pinning them?

@schnitzeltony Is that about hard-coded macro values? I can do that, but I think it will decrease readability a lot.

@schnitzeltony
Copy link
Contributor

Since I have not contributed (much) here: it is just a suggestion.

Is that about hard-coded macro values? I can do that, but I think it will decrease readability a lot.

Yes - advantage would be that if fluidsynth changes defaults, these changes are taken. Had the similar issue at carla so I decided to collect all defaults required at one place.

@PhysSong
Copy link
Member

Okay. I'll try that and see if it looks okay.

@PhysSong
Copy link
Member

@dvzrv Updated the fluidsynth2 branch(with a force-push). Tested with both 1.1.9 and 2.0.1, worked fine. Also addressed #4640 (comment) .

@schnitzeltony
Copy link
Contributor

Thanks for addressing my comment. I think hard-coding defaults for fluidsynth 1.x is OK - future changes in 1.x are unlikely. Have not yet build tested (will do this evening), but would be happy to see this merged: lmms is the last on my list...

@PhysSong
Copy link
Member

PR opened: #4678
Can anyone test that?

@dvzrv
Copy link
Author

dvzrv commented Oct 25, 2018 via email

@dvzrv
Copy link
Author

dvzrv commented Oct 25, 2018

@PhysSong I can confirm that your branch builds with fluidsynth 2.0.0 and 1.1.11!
Thanks so much and sorry again for the delay!

@jorgicio
Copy link

PR opened: #4678
Can anyone test that?

Tested the patch in Gentoo, and working fine with fluidsynth 2.0.0. Thanks.

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

No branches or pull requests

6 participants