mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 17:42:21 +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_usage(void);
|
||||||
void print_help(fluid_settings_t *settings);
|
void print_help(fluid_settings_t *settings);
|
||||||
void print_welcome(void);
|
void print_welcome(void);
|
||||||
|
void print_configure(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* the globals
|
* the globals
|
||||||
|
@ -504,7 +505,7 @@ int main(int argc, char** argv)
|
||||||
else fluid_settings_setstr(settings, "audio.file.type", optarg);
|
else fluid_settings_setstr(settings, "audio.file.type", optarg);
|
||||||
break;
|
break;
|
||||||
case 'V':
|
case 'V':
|
||||||
printf("FluidSynth %s\n", FLUIDSYNTH_VERSION);
|
print_configure();
|
||||||
exit (0);
|
exit (0);
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
|
@ -810,6 +811,17 @@ print_welcome()
|
||||||
FLUIDSYNTH_VERSION);
|
FLUIDSYNTH_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void print_configure()
|
||||||
|
{
|
||||||
|
puts("Sample type="
|
||||||
|
#ifdef WITH_FLOAT
|
||||||
|
"float"
|
||||||
|
#else
|
||||||
|
"double"
|
||||||
|
#endif
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* print_help
|
* print_help
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue