Added fluid_version and fluid_version_str

This commit is contained in:
Peter Hanappe 2003-03-13 08:07:16 +00:00
parent a13bfd450f
commit 85dba429c2
4 changed files with 27 additions and 2 deletions

View file

@ -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.

View file

@ -266,5 +266,5 @@ Josh Green <jgreen@users.sourceforge.net>
Stephane Letz <letz@grame.fr>
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.

View file

@ -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

View file

@ -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
*