diff --git a/fluidsynth/AUTHORS b/fluidsynth/AUTHORS index bfebc9a0..711cec92 100644 --- a/fluidsynth/AUTHORS +++ b/fluidsynth/AUTHORS @@ -80,7 +80,7 @@ author. Below you'll find a summery of contributions. archives (http://www.smartelectronix.com/musicdsp). They were written by Joshua Scholar and others. file: iiwu_synth.c -* Bug fixes where sent in by: Werner Schweer, Josh Green, Anthony +* Bug fixes where sent in by: Werner Schweer, Dave Philips, Anthony Green, Jake Commander, Fernando Pablo Lopez-Lezcano, and Raoul Bonisch. diff --git a/fluidsynth/doc/fluidsynth.1 b/fluidsynth/doc/fluidsynth.1 index 6abec783..258f78c6 100644 --- a/fluidsynth/doc/fluidsynth.1 +++ b/fluidsynth/doc/fluidsynth.1 @@ -266,5 +266,5 @@ Josh Green Stephane Letz Please check the AUTHORS and THANKS files for all credits -.SH TRADEMARKS +.SH DISCLAIMER SoundFont(R) is a registered trademark of E-mu Systems, Inc. diff --git a/fluidsynth/include/fluidsynth/version.h.in b/fluidsynth/include/fluidsynth/version.h.in index 260d9452..e7770c87 100644 --- a/fluidsynth/include/fluidsynth/version.h.in +++ b/fluidsynth/include/fluidsynth/version.h.in @@ -31,6 +31,12 @@ extern "C" { #define FLUIDSYNTH_VERSION_MINOR @FLUIDSYNTH_VERSION_MINOR@ #define FLUIDSYNTH_VERSION_MICRO @FLUIDSYNTH_VERSION_MICRO@ + +FLUIDSYNTH_API void fluid_version(int *major, int *minor, int *micro); + +FLUIDSYNTH_API char* fluid_version_str(void); + + #ifdef __cplusplus } #endif diff --git a/fluidsynth/src/fluid_synth.c b/fluidsynth/src/fluid_synth.c index 8b7cd9e9..04510d41 100644 --- a/fluidsynth/src/fluid_synth.c +++ b/fluidsynth/src/fluid_synth.c @@ -107,6 +107,25 @@ void fluid_synth_settings(fluid_settings_t* settings) 0, NULL, NULL); } +/* + * fluid_version + */ +void fluid_version(int *major, int *minor, int *micro) +{ + *major = FLUIDSYNTH_VERSION_MAJOR; + *minor = FLUIDSYNTH_VERSION_MINOR; + *micro = FLUIDSYNTH_VERSION_MICRO; +} + +/* + * fluid_version_str + */ +char* fluid_version_str(void) +{ + return FLUIDSYNTH_VERSION; +} + + /* * void fluid_synth_init *