mdTell(3dm)							   mdTell(3dm)
      mdTell, mdTellNow - Return	the MIDI port-specific timing information
      #include <dmedia/midi.h>
     long long mdTell(MDport port)
     long long mdTellNow(MDport	port)
     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.
     Both mdTell and mdTellNow return a	long long tick or nanosecond value on
     success.  Both return a -1	if an error occurs.
     mdSetStartPoint(3dm), mdSetStampMode(3dm),	dmGetUST(3dm)
									PPPPaaaaggggeeee 1111 [ Back ]
 |