Browse Source

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

master
kevin 8 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
           cmTlObj_t* op;
411
           cmTlObj_t* op;
412
           if((op = cmTimeLineIdToObj(p->tlH, cmInvalidId, markerId )) != NULL )
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
             p->afIdx = op->begSmpIdx;
416
             p->afIdx = op->begSmpIdx;
417
 
417
 

Loading…
Cancel
Save