fluid-fun: Adjust function signature to fluidsynth 2.0

This breaks compilation with FLUID_SHARED against <2.0 versions,
which should be reasonable given that the default mode can still
dynamically load both variants.

Fixes #219.
This commit is contained in:
Jonas Kulla 2019-03-21 08:00:47 +01:00
parent 43cb318862
commit d4b9adc1d1
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ typedef int (*FLUIDSYNTHPROGRAMCHANGEPROC)(fluid_synth_t* synth, int chan, int p
typedef fluid_settings_t* (*NEWFLUIDSETTINGSPROC)(void);
typedef fluid_synth_t* (*NEWFLUIDSYNTHPROC)(fluid_settings_t* settings);
typedef void (*DELETEFLUIDSETTINGSPROC)(fluid_settings_t* settings);
typedef int (*DELETEFLUIDSYNTHPROC)(fluid_synth_t* synth);
typedef void (*DELETEFLUIDSYNTHPROC)(fluid_synth_t* synth);
#define FLUID_FUNCS \
FLUID_FUN(settings_setnum, FLUIDSETTINGSSETNUMPROC) \