Skip to content

Commit

Permalink
Better fluidsynth version detection
Browse files Browse the repository at this point in the history
Per LMMS#4300 comment
  • Loading branch information
tresf committed Apr 21, 2018
1 parent bad7be3 commit e481d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sf2_player/sf2_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit e481d2d

Please sign in to comment.