Fix crash when fluidsynth is not compiled in

This commit is contained in:
Magnus Norddahl 2019-11-13 22:56:01 +01:00
parent 04504a4901
commit 0ae9d3b93e

View file

@ -276,6 +276,7 @@ MIDIDevice *MIDIStreamer::CreateMIDIDevice(EMidiDevice devtype, int samplerate)
break; break;
default: default:
throw std::runtime_error("MIDI device type not compiled in");
break; break;
} }
} }