IMiniportWaveRTStream::GetHWLatency method

The GetHWLatency method retrieves information about sources of stream latency in the audio hardware.

Syntax

void GetHWLatency(
  KSRTAUDIO_HWLATENCY *hwLatency
);

Parameters

hwLatency

A pointer to a KSRTAUDIO_HWLATENCY structure into which the driver writes the hardware latency parameters.

Return value

None

Remarks

The port driver calls this method in response to a KSPROPERTY_RTAUDIO_HWLATENCY property request from a client. For more information about the sources of hardware latency in an audio stream, see the Stream Latency during Playback and Stream Latency during Recording topics.

Requirements

   
Header portcls.h
IRQL PASSIVE_LEVEL

See also

IMiniPortWaveRTStream