|
@@ -352,7 +352,7 @@ cmMpRC_t cmMpParserMidiTriple( cmMpParserH_t h, unsigned deltaMicroSecs, cmMi
|
352
|
352
|
{
|
353
|
353
|
cmMpRC_t rc = kOkMpRC;
|
354
|
354
|
cmMpParser_t* p = _cmMpParserFromHandle(h);
|
355
|
|
- cmMidiByte_t mb = -1;
|
|
355
|
+ cmMidiByte_t mb = 0xff; // a midi triple may never have a status of 0xff
|
356
|
356
|
|
357
|
357
|
if( d0 == 0xff )
|
358
|
358
|
p->dataCnt = 0;
|
|
@@ -384,7 +384,7 @@ cmMpRC_t cmMpParserMidiTriple( cmMpParserH_t h, unsigned deltaMicroSecs, cmMi
|
384
|
384
|
break;
|
385
|
385
|
}
|
386
|
386
|
|
387
|
|
- if( mb != -1 )
|
|
387
|
+ if( mb != 0xff )
|
388
|
388
|
_cmMpParserStoreChMsg(p,deltaMicroSecs,mb);
|
389
|
389
|
|
390
|
390
|
p->dataCnt = cmInvalidCnt;
|