fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] Expose LADSPA functions via FluidSynth API


From: Marcus Weseloh
Subject: [fluid-dev] Expose LADSPA functions via FluidSynth API
Date: Fri, 10 Nov 2017 21:20:32 +0100

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 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]