diff --git a/deps/fluidsynth/include/fluidsynth/midi.h b/deps/fluidsynth/include/fluidsynth/midi.h index 721b1a62..047dcfc7 100644 --- a/deps/fluidsynth/include/fluidsynth/midi.h +++ b/deps/fluidsynth/include/fluidsynth/midi.h @@ -246,7 +246,7 @@ enum fluid_player_status { FLUID_PLAYER_READY, /**< Player is ready */ FLUID_PLAYER_PLAYING, /**< Player is currently playing */ - FLUID_PLAYER_STOPPING, /**< Player is stopping, but hasn't finished yet */ + FLUID_PLAYER_STOPPING, /**< Player is stopping, but hasn't finished yet (currently unused) */ FLUID_PLAYER_DONE /**< Player is finished playing */ }; diff --git a/deps/fluidsynth/include/fluidsynth/seq.h b/deps/fluidsynth/include/fluidsynth/seq.h index 549c9cfd..35c46eed 100644 --- a/deps/fluidsynth/include/fluidsynth/seq.h +++ b/deps/fluidsynth/include/fluidsynth/seq.h @@ -45,6 +45,14 @@ extern "C" { * @param event The event being received * @param seq The sequencer instance * @param data User defined data registered with the client + * + * @note @p time may not be of the same tick value as the scheduled event! In fact, depending on + * the sequencer's scale and the synth's sample-rate, @p time may a few ticks too late. Although this + * itself is inaudible, it is important to consider, + * when you use this callback for enqueuing additional events over and over again with + * fluid_sequencer_send_at(): If you enqueue new events with a relative tick value you might introduce + * a timing error, which causes your sequence to sound e.g. slower than it's supposed to be. If this is + * your use-case, make sure to enqueue events with an absolute tick value. */ typedef void (*fluid_event_callback_t)(unsigned int time, fluid_event_t *event, fluid_sequencer_t *seq, void *data); diff --git a/deps/fluidsynth/include/fluidsynth/version.h b/deps/fluidsynth/include/fluidsynth/version.h index 8ad0cbb0..74803633 100644 --- a/deps/fluidsynth/include/fluidsynth/version.h +++ b/deps/fluidsynth/include/fluidsynth/version.h @@ -31,10 +31,10 @@ extern "C" { * * @{ */ -#define FLUIDSYNTH_VERSION "2.2.0" /**< String constant of libfluidsynth version. */ +#define FLUIDSYNTH_VERSION "2.2.1" /**< String constant of libfluidsynth version. */ #define FLUIDSYNTH_VERSION_MAJOR 2 /**< libfluidsynth major version integer constant. */ #define FLUIDSYNTH_VERSION_MINOR 2 /**< libfluidsynth minor version integer constant. */ -#define FLUIDSYNTH_VERSION_MICRO 0 /**< libfluidsynth micro version integer constant. */ +#define FLUIDSYNTH_VERSION_MICRO 1 /**< libfluidsynth micro version integer constant. */ FLUIDSYNTH_API void fluid_version(int *major, int *minor, int *micro); FLUIDSYNTH_API char* fluid_version_str(void); diff --git a/deps/fluidsynth/lib/libfluidsynth.a b/deps/fluidsynth/lib/libfluidsynth.a index eb361a43..7e3055ed 100644 Binary files a/deps/fluidsynth/lib/libfluidsynth.a and b/deps/fluidsynth/lib/libfluidsynth.a differ diff --git a/deps/fluidsynth/lib/pkgconfig/fluidsynth.pc b/deps/fluidsynth/lib/pkgconfig/fluidsynth.pc index 13814e2a..34775c1f 100644 --- a/deps/fluidsynth/lib/pkgconfig/fluidsynth.pc +++ b/deps/fluidsynth/lib/pkgconfig/fluidsynth.pc @@ -5,7 +5,7 @@ includedir=${prefix}/include Name: FluidSynth Description: Software SoundFont synth -Version: 2.2.0 +Version: 2.2.1 Requires.private: libinstpatch-1.0 Libs: -L${libdir} -lfluidsynth Libs.private: -framework AudioUnit -framework CoreAudio -framework CoreMIDI