Microsoft DirectX 8.0 (C++) |
Retrieves the current latency time. Latency time is the time being heard from the speakers plus the time required to queue and render messages into the IDirectMusicPort8. For an overview of this topic, see Timing.
HRESULT GetLatencyTime( REFERENCE_TIME * prtTime );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
E_POINTER |
DMUS_E_NO_MASTER_CLOCK |
Header: Declared in dmusici.h.