diff --git a/doc/fluidsynth-v11-devdoc.txt b/doc/fluidsynth-v11-devdoc.txt index 469c6fb4..3a601233 100644 --- a/doc/fluidsynth-v11-devdoc.txt +++ b/doc/fluidsynth-v11-devdoc.txt @@ -90,6 +90,7 @@ Changes in FluidSynth 2.0.0 concerning developers: - remove struct _fluid_mod_t from public API, use the getters and setters of mod.h instead - remove struct _fluid_gen_t, fluid_gen_set_default_values() and enum fluid_gen_flags from public API - remove macros fluid_sfont_get_id() and fluid_sample_refcount() from public API +- remove FLUID_NUM_MOD macro from public API - remove the following deprecated enum values: - GEN_LAST - LAST_LOG_LEVEL diff --git a/include/fluidsynth/voice.h b/include/fluidsynth/voice.h index a6086f4b..2952721e 100644 --- a/include/fluidsynth/voice.h +++ b/include/fluidsynth/voice.h @@ -35,8 +35,6 @@ extern "C" { * such as the SoundFont loader's noteon method. */ -#define FLUID_NUM_MOD 64 /**< Maximum number of modulators in a voice */ - FLUIDSYNTH_API void fluid_voice_update_param(fluid_voice_t* voice, int gen); /** diff --git a/src/synth/fluid_voice.h b/src/synth/fluid_voice.h index 284a7c32..95ed2721 100644 --- a/src/synth/fluid_voice.h +++ b/src/synth/fluid_voice.h @@ -33,6 +33,7 @@ #define NO_CHANNEL 0xff + typedef struct _fluid_overflow_prio_t fluid_overflow_prio_t; struct _fluid_overflow_prio_t diff --git a/src/utils/fluidsynth_priv.h b/src/utils/fluidsynth_priv.h index 130f1dd7..e6dfe091 100644 --- a/src/utils/fluidsynth_priv.h +++ b/src/utils/fluidsynth_priv.h @@ -215,6 +215,7 @@ typedef struct _fluid_sample_timer_t fluid_sample_timer_t; #define FLUID_MAX_EVENT_QUEUES 16 /**< Maximum number of unique threads queuing events */ #define FLUID_DEFAULT_AUDIO_RT_PRIO 60 /**< Default setting for audio.realtime-prio */ #define FLUID_DEFAULT_MIDI_RT_PRIO 50 /**< Default setting for midi.realtime-prio */ +#define FLUID_NUM_MOD 64 /**< Maximum number of modulators in a voice */ /*************************************************************** *