IMiniportWaveRTStream::GetHWLatency method (portcls.h)

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 Stream Latency during Playback and Stream Latency during Recording.

Requirements

Requirement Value
Header portcls.h
IRQL PASSIVE_LEVEL

See also

IMiniPortWaveRTStream