IMiniportWaveRTStream interface (portcls.h)

The IMiniportWaveRTStream interface represents the wave stream that flows through a pin on the KS filter that wraps a WaveRT rendering or capture device. The miniport driver implements the IMiniportWaveRTStream interface and exposes it to the port driver. The miniport driver creates a stream object with this interface when the port driver calls the IMiniportWaveRT::NewStream method. IMiniportWaveRTStream inherits from the IUnknown interface.

IMiniportWaveRTStream is supported in Windows Vista and later Windows operating systems.

Inheritance

The IMiniportWaveRTStream interface inherits from the IUnknown interface.

Methods

The IMiniportWaveRTStream interface has these methods.

 
IMiniportWaveRTStream::AllocateAudioBuffer

The AllocateAudioBuffer method allocates a cyclic buffer for audio data.
IMiniportWaveRTStream::FreeAudioBuffer

The FreeAudioBuffer method is used to free an audio buffer previously allocated with a call to IMiniportWaveRTStream::AllocateAudioBuffer.
IMiniportWaveRTStream::GetClockRegister

The GetClockRegister method retrieves the information that the port driver requires to expose the clock register to the audio subsystem and its clients.
IMiniportWaveRTStream::GetHWLatency

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

The GetPosition method retrieves the current play or record position as a byte offset from the beginning of the buffer.
IMiniportWaveRTStream::GetPositionRegister

The GetPositionRegister method retrieves the information that the port driver requires to expose the position register to the audio subsystem and its clients.
IMiniportWaveRTStream::SetFormat

The SetFormat method sets the data format of the wave stream.
IMiniportWaveRTStream::SetState

The SetState method changes the transport state of the audio stream.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h