cmDspKr.c : In _cmDspTimeLineRecv() allow the selected time line object to be a kMidiEvtTlId type.
This commit is contained in:
parent
caffeb4b0a
commit
1d1681eefd
@ -411,7 +411,7 @@ cmDspRC_t _cmDspTimeLineRecv(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEvt_
|
|||||||
cmTlObj_t* op;
|
cmTlObj_t* op;
|
||||||
if((op = cmTimeLineIdToObj(p->tlH, cmInvalidId, markerId )) != NULL )
|
if((op = cmTimeLineIdToObj(p->tlH, cmInvalidId, markerId )) != NULL )
|
||||||
{
|
{
|
||||||
assert(op->typeId == kMarkerTlId);
|
assert(op->typeId == kMarkerTlId || op->typeId == kMidiEvtTlId );
|
||||||
|
|
||||||
p->afIdx = op->begSmpIdx;
|
p->afIdx = op->begSmpIdx;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user