321 |
cmd.bChangeInstrument = false; |
cmd.bChangeInstrument = false; |
322 |
} |
} |
323 |
|
|
324 |
|
if (pInstrument != NULL) { |
325 |
|
pInstrument = NULL; |
326 |
|
InstrumentStat = -1; |
327 |
|
InstrumentIdx = -1; |
328 |
|
InstrumentIdxName = ""; |
329 |
|
InstrumentFile = ""; |
330 |
|
bStatusChanged = true; |
331 |
|
} |
332 |
|
|
333 |
for (uint i = 0; i < 128; i++) { |
for (uint i = 0; i < 128; i++) { |
334 |
pMIDIKeyInfo[i].pActiveVoices = new RTList<Voice>(pEngine->pVoicePool); |
pMIDIKeyInfo[i].pActiveVoices = new RTList<Voice>(pEngine->pVoicePool); |
335 |
pMIDIKeyInfo[i].pEvents = new RTList<Event>(pEngine->pEventPool); |
pMIDIKeyInfo[i].pEvents = new RTList<Event>(pEngine->pEventPool); |