mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-03-01 15:10:43 +00:00
inform user if compiled without SF3 support
This commit is contained in:
parent
b338db1ebc
commit
6e4f9134b9
1 changed files with 10 additions and 4 deletions
|
@ -2290,11 +2290,17 @@ process_info (int size, SFData * sf, FILE * fd)
|
|||
return (FAIL);
|
||||
}
|
||||
|
||||
#if LIBSNDFILE_SUPPORT
|
||||
if (sf->version.major == 3) {}
|
||||
else
|
||||
if (sf->version.major == 3) {
|
||||
#if !LIBSNDFILE_SUPPORT
|
||||
FLUID_LOG (FLUID_WARN,
|
||||
_("Sound font version is %d.%d but fluidsynth was compiled without"
|
||||
" support for (v3.x)"),
|
||||
sf->version.major,
|
||||
sf->version.minor);
|
||||
return (FAIL);
|
||||
#endif
|
||||
if (sf->version.major > 2) {
|
||||
}
|
||||
else if (sf->version.major > 2) {
|
||||
FLUID_LOG (FLUID_WARN,
|
||||
_("Sound font version is %d.%d which is newer than"
|
||||
" what this version of FLUID Synth was designed for (v2.0x)"),
|
||||
|
|
Loading…
Reference in a new issue