MidiSmpte2Time


Convert an SMPTE location to a time in millisecond.

pascal long     MidiSmpte2Time (SmpteLocPtr loc);

loc
a pointer to a TSmpteLocation record to be converted in milliseconds.

a 32-bits time in milliseconds.


Gives the SMPTE location from its current format to 30 drop frame (format 2).


TSmpteLocation    myLoc; 

/*...*/

/* we suppose here myLoc filled with an SMPTE location */
MidiTime2Smpte( MidiSmpte2Time(&myLoc), 2, &myLoc);

/* now myLoc is filled with the same SMPTE location but in 30 drop frame format */