mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
display sample type for fluidsynth --version
This commit is contained in:
parent
c02a5ae5ce
commit
5806d9e9cc
1 changed files with 13 additions and 1 deletions
|
@ -48,6 +48,7 @@
|
|||
void print_usage(void);
|
||||
void print_help(fluid_settings_t *settings);
|
||||
void print_welcome(void);
|
||||
void print_configure(void);
|
||||
|
||||
/*
|
||||
* the globals
|
||||
|
@ -504,7 +505,7 @@ int main(int argc, char** argv)
|
|||
else fluid_settings_setstr(settings, "audio.file.type", optarg);
|
||||
break;
|
||||
case 'V':
|
||||
printf("FluidSynth %s\n", FLUIDSYNTH_VERSION);
|
||||
print_configure();
|
||||
exit (0);
|
||||
break;
|
||||
case 'v':
|
||||
|
@ -810,6 +811,17 @@ print_welcome()
|
|||
FLUIDSYNTH_VERSION);
|
||||
}
|
||||
|
||||
void print_configure()
|
||||
{
|
||||
puts("Sample type="
|
||||
#ifdef WITH_FLOAT
|
||||
"float"
|
||||
#else
|
||||
"double"
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
* print_help
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue