Better fluidsynth version detection

Per #4300 comment
This commit is contained in:
tresf
2018-04-20 21:50:59 -04:00
parent 22ca47abba
commit aaee2ecb15

View File

@@ -114,7 +114,7 @@ sf2Instrument::sf2Instrument( InstrumentTrack * _instrument_track ) :
}
#if FLUIDSYNTH_VERSION_MAJOR >= 1 && FLUIDSYNTH_VERSION_MINOR >= 1 && FLUIDSYNTH_VERSION_MICRO >= 9
#if QT_VERSION_CHECK(FLUIDSYNTH_VERSION_MAJOR, FLUIDSYNTH_VERSION_MINOR, FLUIDSYNTH_VERSION_MICRO) >= QT_VERSION_CHECK(1,1,9)
// Deactivate all audio drivers in fluidsynth
const char *none[] = { NULL };
fluid_audio_driver_register( none );