cmDspKr.c : cmDspMidiFilePlay object now sents note off messages.

This commit is contained in:
kevin 2013-09-29 18:46:48 -07:00
parent 19d31789db
commit 7d3e82d417

View File

@ -805,6 +805,7 @@ cmDspRC_t _cmDspMidiFilePlayExec(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDsp
const cmMidiTrackMsg_t* mp = mpp[p->curMsgIdx]; const cmMidiTrackMsg_t* mp = mpp[p->curMsgIdx];
switch( mp->status ) switch( mp->status )
{ {
case kNoteOffMdId:
case kNoteOnMdId: case kNoteOnMdId:
case kCtlMdId: case kCtlMdId:
cmDspSetUInt(ctx,inst, kSmpIdxMfId, mp->dtick); cmDspSetUInt(ctx,inst, kSmpIdxMfId, mp->dtick);