37 |
// fully loaded, try to give back instrument again (see bug #113) |
// fully loaded, try to give back instrument again (see bug #113) |
38 |
InstrumentChangeCmd< ::sf2::Region, ::sf2::Preset>& cmd = ChangeInstrument(NULL); |
InstrumentChangeCmd< ::sf2::Region, ::sf2::Preset>& cmd = ChangeInstrument(NULL); |
39 |
if (cmd.pInstrument) { |
if (cmd.pInstrument) { |
40 |
InstrumentResourceManager* instrs = dynamic_cast<InstrumentResourceManager*>(pEngine->GetInstrumentManager()); |
Engine::instruments.HandBack(cmd.pInstrument, this); |
|
instrs->HandBack(cmd.pInstrument, this); |
|
41 |
} |
} |
42 |
/////// |
/////// |
43 |
} |
} |