mdTell(3dm)                                                        mdTell(3dm)


NAME
     mdTell, mdTellNow - Return the MIDI port-specific timing information

SYNOPSIS
     #include <dmedia/midi.h>

     long long mdTell(MDport port)
     long long mdTellNow(MDport port)

DESCRIPTION
     mdTell returns the relative  stamp or tick of the last message sent on
     the port.

     mdTellNow returns a relative stamp or tick corresponding to the current
     time, regardless of when the last event was transmitted.

     For both routines, the returned value will be expressed in either ticks
     or nanoseconds, depending on whether the stamp mode of the port is a TICK
     or STAMP mode (see mdSetStampMode(3dm)). The value will be relative to
     the port's origin regardless of whether the stamp mode is DELTA or
     RELATIVE.


RETURN VALUE
     Both mdTell and mdTellNow return a long long tick or nanosecond value on
     success.  Both return a -1 if an error occurs.


SEE ALSO
     mdSetStartPoint(3dm), mdSetStampMode(3dm), dmGetUST(3dm)


                                                                        Page 1