cmDspBuiltIn.c : Changed _cmDspMidOutRecv() to not sleep between all-note-off transmissions
This commit is contained in:
parent
bfcb91b276
commit
a4e3c2e550
@ -911,7 +911,10 @@ cmDspRC_t _cmDspMidiOutRecv(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEvt_t
|
|||||||
{
|
{
|
||||||
cmMpDeviceSend(p->devIdx,p->portIdx,kCtlMdId+i,121,0); // reset all controllers
|
cmMpDeviceSend(p->devIdx,p->portIdx,kCtlMdId+i,121,0); // reset all controllers
|
||||||
cmMpDeviceSend(p->devIdx,p->portIdx,kCtlMdId+i,123,0); // turn all notes off
|
cmMpDeviceSend(p->devIdx,p->portIdx,kCtlMdId+i,123,0); // turn all notes off
|
||||||
cmSleepMs(15);
|
//cmSleepMs(15); this delay was causing audio to glitch badly
|
||||||
|
// if a delay is necessary make it shorter and only send it on channels where
|
||||||
|
// previous note-ons were issued.
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user