initialize variables (thanks, daniel!)

This commit is contained in:
Alex Birch 2018-03-02 01:16:58 +00:00
parent 7d2cfd27e1
commit 86a0c005ef
No known key found for this signature in database
GPG Key ID: 305EB1F98D44ACBA

View File

@ -7,7 +7,13 @@
using namespace std;
FluidSynthModel::FluidSynthModel() {}
FluidSynthModel::FluidSynthModel() {
initialised = false;
channel = 0;
sfont_id = 0;
settings = nullptr;
synth = nullptr;
}
FluidSynthModel::~FluidSynthModel() {
if (initialised) {