Browse Source

cmDspKr.c : In _cmDspTimeLineRecv() allow the selected time line object to be a kMidiEvtTlId type.

master
kevin 7 years ago
parent
commit
1d1681eefd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dsp/cmDspKr.c

+ 1
- 1
dsp/cmDspKr.c View File

@@ -411,7 +411,7 @@ cmDspRC_t _cmDspTimeLineRecv(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEvt_
411 411
           cmTlObj_t* op;
412 412
           if((op = cmTimeLineIdToObj(p->tlH, cmInvalidId, markerId )) != NULL )
413 413
           {
414
-            assert(op->typeId == kMarkerTlId);
414
+            assert(op->typeId == kMarkerTlId || op->typeId == kMidiEvtTlId );
415 415
 
416 416
             p->afIdx = op->begSmpIdx;
417 417
 

Loading…
Cancel
Save