mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-30 16:01:51 +00:00
Added fluid_version and fluid_version_str
This commit is contained in:
parent
a13bfd450f
commit
85dba429c2
4 changed files with 27 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue