cmMidiFile.c : _cmMidiFileLinearize() now immediately clears mfp->msgVDirtyFl to avoid problems in 'kc'.
This commit is contained in:
parent
b66c936a99
commit
9bc41724d6
@ -536,6 +536,8 @@ void _cmMidiFileLinearize( _cmMidiFile_t* mfp )
|
|||||||
if( mfp->msgVDirtyFl == false )
|
if( mfp->msgVDirtyFl == false )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
mfp->msgVDirtyFl = false;
|
||||||
|
|
||||||
// get the total trk msg count
|
// get the total trk msg count
|
||||||
mfp->msgN = 0;
|
mfp->msgN = 0;
|
||||||
for(trkIdx=0; trkIdx<mfp->trkN; ++trkIdx)
|
for(trkIdx=0; trkIdx<mfp->trkN; ++trkIdx)
|
||||||
@ -567,7 +569,6 @@ void _cmMidiFileLinearize( _cmMidiFile_t* mfp )
|
|||||||
// set the amicro value in each msg
|
// set the amicro value in each msg
|
||||||
_cmMidiFileSetAbsoluteTime(mfp);
|
_cmMidiFileSetAbsoluteTime(mfp);
|
||||||
|
|
||||||
mfp->msgVDirtyFl = false;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user