mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-29 15:11:58 +00:00
Merge branch 'main' into quasi-glib
This commit is contained in:
commit
0d920b8940
21 changed files with 43 additions and 43 deletions
|
@ -95,8 +95,8 @@ class FluidSynthTarget(CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.3.0.tar.gz',
|
||||
'1df5a1afb91acf3b945b7fdb89ac0d99877622161d9b5155533da59113eaaa20')
|
||||
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.3.1.tar.gz',
|
||||
'd734e4cf488be763cf123e5976f3154f0094815093eecdf71e0e9ae148431883')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
|
|
4
deps/fluidsynth/include/fluidsynth/audio.h
vendored
4
deps/fluidsynth/include/fluidsynth/audio.h
vendored
|
@ -120,7 +120,7 @@ FLUIDSYNTH_API void delete_fluid_audio_driver(fluid_audio_driver_t *driver);
|
|||
/** @endlifecycle */
|
||||
|
||||
FLUIDSYNTH_API int fluid_audio_driver_register(const char **adrivers);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup file_renderer File Renderer
|
||||
|
@ -146,7 +146,7 @@ FLUIDSYNTH_API void delete_fluid_file_renderer(fluid_file_renderer_t *dev);
|
|||
|
||||
FLUIDSYNTH_API int fluid_file_renderer_process_block(fluid_file_renderer_t *dev);
|
||||
FLUIDSYNTH_API int fluid_file_set_encoding_quality(fluid_file_renderer_t *dev, double q);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/event.h
vendored
2
deps/fluidsynth/include/fluidsynth/event.h
vendored
|
@ -135,7 +135,7 @@ FLUIDSYNTH_API short fluid_event_get_bank(fluid_event_t *evt);
|
|||
FLUIDSYNTH_API int fluid_event_get_pitch(fluid_event_t *evt);
|
||||
FLUIDSYNTH_API double fluid_event_get_scale(fluid_event_t *evt);
|
||||
FLUIDSYNTH_API unsigned int fluid_event_get_sfont_id(fluid_event_t *evt);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/gen.h
vendored
2
deps/fluidsynth/include/fluidsynth/gen.h
vendored
|
@ -125,7 +125,7 @@ enum fluid_gen_type
|
|||
@warning This symbol is not part of the public API and ABI
|
||||
stability guarantee and may change at any time! */
|
||||
};
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/ladspa.h
vendored
2
deps/fluidsynth/include/fluidsynth/ladspa.h
vendored
|
@ -59,7 +59,7 @@ FLUIDSYNTH_API int fluid_ladspa_effect_set_control(fluid_ladspa_fx_t *fx, const
|
|||
const char *port_name, float val);
|
||||
FLUIDSYNTH_API int fluid_ladspa_effect_link(fluid_ladspa_fx_t *fx, const char *effect_name,
|
||||
const char *port_name, const char *name);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/log.h
vendored
2
deps/fluidsynth/include/fluidsynth/log.h
vendored
|
@ -88,7 +88,7 @@ FLUIDSYNTH_API int fluid_log(int level, const char *fmt, ...)
|
|||
__attribute__ ((format (printf, 2, 3)))
|
||||
#endif
|
||||
;
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
10
deps/fluidsynth/include/fluidsynth/midi.h
vendored
10
deps/fluidsynth/include/fluidsynth/midi.h
vendored
|
@ -93,7 +93,7 @@ int handle_tick(void *data, int tick)
|
|||
* @endcode
|
||||
*/
|
||||
typedef int (*handle_midi_tick_func_t)(void *data, int tick);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup midi_events MIDI Events
|
||||
|
@ -139,7 +139,7 @@ FLUIDSYNTH_API int fluid_midi_event_set_lyrics(fluid_midi_event_t *evt,
|
|||
void *data, int size, int dynamic);
|
||||
FLUIDSYNTH_API int fluid_midi_event_get_lyrics(fluid_midi_event_t *evt,
|
||||
void **data, int *size);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup midi_router MIDI Router
|
||||
|
@ -196,7 +196,7 @@ FLUIDSYNTH_API void fluid_midi_router_rule_set_param2(fluid_midi_router_rule_t *
|
|||
FLUIDSYNTH_API int fluid_midi_router_handle_midi_event(void *data, fluid_midi_event_t *event);
|
||||
FLUIDSYNTH_API int fluid_midi_dump_prerouter(void *data, fluid_midi_event_t *event);
|
||||
FLUIDSYNTH_API int fluid_midi_dump_postrouter(void *data, fluid_midi_event_t *event);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup midi_driver MIDI Driver
|
||||
|
@ -227,7 +227,7 @@ fluid_midi_driver_t *new_fluid_midi_driver(fluid_settings_t *settings,
|
|||
FLUIDSYNTH_API void delete_fluid_midi_driver(fluid_midi_driver_t *driver);
|
||||
/** @endlifecycle */
|
||||
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup midi_player MIDI File Player
|
||||
|
@ -285,7 +285,7 @@ FLUIDSYNTH_API int fluid_player_get_total_ticks(fluid_player_t *player);
|
|||
FLUIDSYNTH_API int fluid_player_get_bpm(fluid_player_t *player);
|
||||
FLUIDSYNTH_API int fluid_player_get_midi_tempo(fluid_player_t *player);
|
||||
FLUIDSYNTH_API int fluid_player_seek(fluid_player_t *player, int ticks);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/misc.h
vendored
2
deps/fluidsynth/include/fluidsynth/misc.h
vendored
|
@ -68,7 +68,7 @@ extern "C" {
|
|||
FLUIDSYNTH_API int fluid_is_soundfont(const char *filename);
|
||||
FLUIDSYNTH_API int fluid_is_midifile(const char *filename);
|
||||
FLUIDSYNTH_API void fluid_free(void* ptr);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/mod.h
vendored
2
deps/fluidsynth/include/fluidsynth/mod.h
vendored
|
@ -96,7 +96,7 @@ FLUIDSYNTH_API int fluid_mod_has_source(const fluid_mod_t *mod, int cc, int ctrl
|
|||
FLUIDSYNTH_API int fluid_mod_has_dest(const fluid_mod_t *mod, int gen);
|
||||
|
||||
FLUIDSYNTH_API void fluid_mod_clone(fluid_mod_t *mod, const fluid_mod_t *src);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/seq.h
vendored
2
deps/fluidsynth/include/fluidsynth/seq.h
vendored
|
@ -83,7 +83,7 @@ void fluid_sequencer_remove_events(fluid_sequencer_t *seq, fluid_seq_id_t source
|
|||
FLUIDSYNTH_API unsigned int fluid_sequencer_get_tick(fluid_sequencer_t *seq);
|
||||
FLUIDSYNTH_API void fluid_sequencer_set_time_scale(fluid_sequencer_t *seq, double scale);
|
||||
FLUIDSYNTH_API double fluid_sequencer_get_time_scale(fluid_sequencer_t *seq);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/seqbind.h
vendored
2
deps/fluidsynth/include/fluidsynth/seqbind.h
vendored
|
@ -36,7 +36,7 @@ FLUIDSYNTH_API
|
|||
fluid_seq_id_t fluid_sequencer_register_fluidsynth(fluid_sequencer_t *seq, fluid_synth_t *synth);
|
||||
FLUIDSYNTH_API
|
||||
int fluid_sequencer_add_midi_event_to_buffer(void *data, fluid_midi_event_t *event);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -185,7 +185,7 @@ typedef void (*fluid_settings_foreach_t)(void *data, const char *name, int type)
|
|||
FLUIDSYNTH_API
|
||||
void fluid_settings_foreach(fluid_settings_t *settings, void *data,
|
||||
fluid_settings_foreach_t func);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/sfont.h
vendored
2
deps/fluidsynth/include/fluidsynth/sfont.h
vendored
|
@ -353,7 +353,7 @@ FLUIDSYNTH_API int fluid_sample_set_sound_data(fluid_sample_t *sample,
|
|||
FLUIDSYNTH_API int fluid_sample_set_loop(fluid_sample_t *sample, unsigned int loop_start, unsigned int loop_end);
|
||||
FLUIDSYNTH_API int fluid_sample_set_pitch(fluid_sample_t *sample, int root_key, int fine_tune);
|
||||
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
8
deps/fluidsynth/include/fluidsynth/shell.h
vendored
8
deps/fluidsynth/include/fluidsynth/shell.h
vendored
|
@ -47,7 +47,7 @@ FLUIDSYNTH_API fluid_istream_t fluid_get_stdin(void);
|
|||
FLUIDSYNTH_API fluid_ostream_t fluid_get_stdout(void);
|
||||
FLUIDSYNTH_API char *fluid_get_userconf(char *buf, int len);
|
||||
FLUIDSYNTH_API char *fluid_get_sysconf(char *buf, int len);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -78,7 +78,7 @@ int fluid_command(fluid_cmd_handler_t *handler, const char *cmd, fluid_ostream_t
|
|||
|
||||
FLUIDSYNTH_API
|
||||
int fluid_source(fluid_cmd_handler_t *handler, const char *filename);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -106,7 +106,7 @@ void fluid_usershell(fluid_settings_t *settings, fluid_cmd_handler_t *handler);
|
|||
FLUIDSYNTH_API void delete_fluid_shell(fluid_shell_t *shell);
|
||||
/** @endlifecycle */
|
||||
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -141,7 +141,7 @@ FLUIDSYNTH_API void delete_fluid_server(fluid_server_t *server);
|
|||
FLUIDSYNTH_API int fluid_server_join(fluid_server_t *server);
|
||||
/** @endlifecycle */
|
||||
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
22
deps/fluidsynth/include/fluidsynth/synth.h
vendored
22
deps/fluidsynth/include/fluidsynth/synth.h
vendored
|
@ -55,7 +55,7 @@ FLUIDSYNTH_API void delete_fluid_synth(fluid_synth_t *synth);
|
|||
|
||||
FLUIDSYNTH_API double fluid_synth_get_cpu_load(fluid_synth_t *synth);
|
||||
FLUID_DEPRECATED FLUIDSYNTH_API const char *fluid_synth_error(fluid_synth_t *synth);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup midi_messages MIDI Channel Messages
|
||||
|
@ -102,7 +102,7 @@ FLUIDSYNTH_API int fluid_synth_all_sounds_off(fluid_synth_t *synth, int chan);
|
|||
FLUIDSYNTH_API int fluid_synth_set_gen(fluid_synth_t *synth, int chan,
|
||||
int param, float value);
|
||||
FLUIDSYNTH_API float fluid_synth_get_gen(fluid_synth_t *synth, int chan, int param);
|
||||
/* @} MIDI Channel Messages */
|
||||
/** @} MIDI Channel Messages */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -124,7 +124,7 @@ FLUIDSYNTH_API fluid_voice_t *fluid_synth_alloc_voice(fluid_synth_t *synth,
|
|||
FLUIDSYNTH_API void fluid_synth_start_voice(fluid_synth_t *synth, fluid_voice_t *voice);
|
||||
FLUIDSYNTH_API void fluid_synth_get_voicelist(fluid_synth_t *synth,
|
||||
fluid_voice_t *buf[], int bufsize, int ID);
|
||||
/* @} Voice Control */
|
||||
/** @} Voice Control */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -148,7 +148,7 @@ FLUIDSYNTH_API fluid_sfont_t *fluid_synth_get_sfont_by_name(fluid_synth_t *synth
|
|||
const char *name);
|
||||
FLUIDSYNTH_API int fluid_synth_set_bank_offset(fluid_synth_t *synth, int sfont_id, int offset);
|
||||
FLUIDSYNTH_API int fluid_synth_get_bank_offset(fluid_synth_t *synth, int sfont_id);
|
||||
/* @} Soundfont Management */
|
||||
/** @} Soundfont Management */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -183,7 +183,7 @@ FLUIDSYNTH_API int fluid_synth_get_reverb_group_roomsize(fluid_synth_t *synth, i
|
|||
FLUIDSYNTH_API int fluid_synth_get_reverb_group_damp(fluid_synth_t *synth, int fx_group, double *damping);
|
||||
FLUIDSYNTH_API int fluid_synth_get_reverb_group_width(fluid_synth_t *synth, int fx_group, double *width);
|
||||
FLUIDSYNTH_API int fluid_synth_get_reverb_group_level(fluid_synth_t *synth, int fx_group, double *level);
|
||||
/* @} Reverb */
|
||||
/** @} Reverb */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -233,7 +233,7 @@ FLUIDSYNTH_API int fluid_synth_get_chorus_group_level(fluid_synth_t *synth, int
|
|||
FLUIDSYNTH_API int fluid_synth_get_chorus_group_speed(fluid_synth_t *synth, int fx_group, double *speed);
|
||||
FLUIDSYNTH_API int fluid_synth_get_chorus_group_depth(fluid_synth_t *synth, int fx_group, double *depth_ms);
|
||||
FLUIDSYNTH_API int fluid_synth_get_chorus_group_type(fluid_synth_t *synth, int fx_group, int *type);
|
||||
/* @} Chorus */
|
||||
/** @} Chorus */
|
||||
|
||||
/**
|
||||
* @defgroup synthesis_params Synthesis Parameters
|
||||
|
@ -286,7 +286,7 @@ enum fluid_synth_add_mod
|
|||
|
||||
FLUIDSYNTH_API int fluid_synth_add_default_mod(fluid_synth_t *synth, const fluid_mod_t *mod, int mode);
|
||||
FLUIDSYNTH_API int fluid_synth_remove_default_mod(fluid_synth_t *synth, const fluid_mod_t *mod);
|
||||
/* @} Synthesis Parameters */
|
||||
/** @} Synthesis Parameters */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -316,7 +316,7 @@ FLUIDSYNTH_API
|
|||
int fluid_synth_tuning_iteration_next(fluid_synth_t *synth, int *bank, int *prog);
|
||||
FLUIDSYNTH_API int fluid_synth_tuning_dump(fluid_synth_t *synth, int bank, int prog,
|
||||
char *name, int len, double *pitch);
|
||||
/* @} MIDI Tuning */
|
||||
/** @} MIDI Tuning */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -357,7 +357,7 @@ FLUID_DEPRECATED FLUIDSYNTH_API int fluid_synth_nwrite_float(fluid_synth_t *synt
|
|||
FLUIDSYNTH_API int fluid_synth_process(fluid_synth_t *synth, int len,
|
||||
int nfx, float *fx[],
|
||||
int nout, float *out[]);
|
||||
/* @} Audio Rendering */
|
||||
/** @} Audio Rendering */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -391,7 +391,7 @@ enum fluid_iir_filter_flags
|
|||
};
|
||||
|
||||
FLUIDSYNTH_API int fluid_synth_set_custom_filter(fluid_synth_t *, int type, int flags);
|
||||
/* @} IIR Filter */
|
||||
/** @} IIR Filter */
|
||||
|
||||
|
||||
|
||||
|
@ -519,7 +519,7 @@ FLUIDSYNTH_API int fluid_synth_set_breath_mode(fluid_synth_t *synth,
|
|||
FLUIDSYNTH_API int fluid_synth_get_breath_mode(fluid_synth_t *synth,
|
||||
int chan, int *breathmode);
|
||||
/** @} Breath Mode */
|
||||
/* @} MIDI Channel Setup */
|
||||
/** @} MIDI Channel Setup */
|
||||
|
||||
|
||||
/** @ingroup settings */
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/types.h
vendored
2
deps/fluidsynth/include/fluidsynth/types.h
vendored
|
@ -76,7 +76,7 @@ typedef __int64 fluid_long_long_t; // even on 32bit windows
|
|||
typedef long long fluid_long_long_t;
|
||||
#endif
|
||||
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
6
deps/fluidsynth/include/fluidsynth/version.h
vendored
6
deps/fluidsynth/include/fluidsynth/version.h
vendored
|
@ -31,14 +31,14 @@ extern "C" {
|
|||
*
|
||||
* @{
|
||||
*/
|
||||
#define FLUIDSYNTH_VERSION "2.3.0" /**< String constant of libfluidsynth version. */
|
||||
#define FLUIDSYNTH_VERSION "2.3.1" /**< String constant of libfluidsynth version. */
|
||||
#define FLUIDSYNTH_VERSION_MAJOR 2 /**< libfluidsynth major version integer constant. */
|
||||
#define FLUIDSYNTH_VERSION_MINOR 3 /**< 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);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
2
deps/fluidsynth/include/fluidsynth/voice.h
vendored
2
deps/fluidsynth/include/fluidsynth/voice.h
vendored
|
@ -68,7 +68,7 @@ FLUIDSYNTH_API int fluid_voice_is_sustained(const fluid_voice_t *voice);
|
|||
FLUIDSYNTH_API int fluid_voice_is_sostenuto(const fluid_voice_t *voice);
|
||||
FLUIDSYNTH_API int fluid_voice_optimize_sample(fluid_sample_t *s);
|
||||
FLUIDSYNTH_API void fluid_voice_update_param(fluid_voice_t *voice, int gen);
|
||||
/* @} */
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
|
||||
set(PACKAGE_VERSION "2.3.0")
|
||||
set(PACKAGE_VERSION "2.3.1")
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
||||
if("2.3.0" MATCHES "^([0-9]+)\\.([0-9]+)")
|
||||
if("2.3.1" MATCHES "^([0-9]+)\\.([0-9]+)")
|
||||
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
||||
set(CVF_VERSION_MINOR "${CMAKE_MATCH_2}")
|
||||
|
||||
|
@ -27,7 +27,7 @@ else()
|
|||
string(REGEX REPLACE "^0+" "" CVF_VERSION_MINOR "${CVF_VERSION_MINOR}")
|
||||
endif()
|
||||
else()
|
||||
set(CVF_VERSION_MAJOR "2.3.0")
|
||||
set(CVF_VERSION_MAJOR "2.3.1")
|
||||
set(CVF_VERSION_MINOR "")
|
||||
endif()
|
||||
|
||||
|
|
BIN
deps/fluidsynth/lib/libfluidsynth.a
vendored
BIN
deps/fluidsynth/lib/libfluidsynth.a
vendored
Binary file not shown.
2
deps/fluidsynth/lib/pkgconfig/fluidsynth.pc
vendored
2
deps/fluidsynth/lib/pkgconfig/fluidsynth.pc
vendored
|
@ -5,7 +5,7 @@ includedir=${prefix}/include
|
|||
|
||||
Name: FluidSynth
|
||||
Description: Software SoundFont synth
|
||||
Version: 2.3.0
|
||||
Version: 2.3.1
|
||||
Requires.private: glib-2.0 gthread-2.0 sndfile libinstpatch-1.0
|
||||
Libs: -L${libdir} -lfluidsynth
|
||||
Libs.private: -lm -Wl,-framework,CoreAudio,-framework,AudioUnit -Wl,-framework,CoreMIDI,-framework,CoreServices
|
||||
|
|
Loading…
Reference in a new issue