Hi all (and especially Tom),
I would like to expose some (or most) of the public functions in src/bindings/fluid_ladspa.h as a public API. Now I'm wondering how to do that, given the fact that LADSPA can be disabled at compile time. I guess we need to mock those functions if LADSPA isn't available to keep the ABI stable?
So my current idea is the following:
- create include/fluidsynth/ladspa.h
- include it in include/fluidsynth.h
- in ladspa.h, use an #ifdef LADSPA to declare the public API functions, with an #else block that declares the same functions with empty function bodies (or return FLUID_FAILED, where appropriate)
Does that sound like a good idea or is there a better way to do that?
Cheers,
Marcus