Microsoft DirectX 8.1 (Visual Basic)

DirectMusicPerformance8.GetLatencyTime

The 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

Parts

object

Resolves to a DirectMusicPerformance8 object.

Return Values

Returns the latency time, in clock time units.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to DMUS_E_NO_MASTER_CLOCK