Platform SDK: DirectX |
The DirectMusicPerformance.GetLatencyTime method retrieves the current latency time. Latency time is the time at which messages are sent to the port to be rendered.
object.GetLatencyTime() As Long
If the method succeeds, it returns the latency time, in clock time units.
If the method fails, it raises an error, and Err.Number can be set to DMUS_E_NO_MASTER_CLOCK