IMiniportWaveCyclicStream interface (portcls.h)

The IMiniportWaveCyclicStream interface represents the wave stream that flows through a pin on a WaveCyclic filter. The filter wraps a WaveCyclic rendering or capture device and is implemented by pairing a WaveCyclic port driver with a WaveCyclic miniport driver. The miniport driver implements the IMiniportWaveCyclicStream interface and exposes it to the port driver. The miniport driver creates a stream object with this interface when the port driver calls the miniport driver's IMiniportWaveCyclic::NewStream method. IMiniportWaveCyclicStream inherits from the IUnknown interface.

The IMiniportWaveCyclicStream interface provides methods for managing a single stream of incoming or outgoing audio wave data. This is the interface that exposes most of the miniport driver's functionality.

Inheritance

The IMiniportWaveCyclicStream interface inherits from the IUnknown interface.

Methods

The IMiniportWaveCyclicStream interface has these methods.

 
IMiniportWaveCyclicStream::GetPosition

The GetPosition method gets the current position of the stream.
IMiniportWaveCyclicStream::NormalizePhysicalPosition

The NormalizePhysicalPosition method converts a physical buffer position to a time-based value.
IMiniportWaveCyclicStream::SetFormat

The SetFormat method sets the KS data format of the wave stream.
IMiniportWaveCyclicStream::SetNotificationFreq

The SetNotificationFreq method controls the frequency at which notification interrupts are generated by setting the interval between successive interrupts.
IMiniportWaveCyclicStream::SetState

The SetState method sets the new state of playback or recording for the stream.
IMiniportWaveCyclicStream::Silence

The Silence method is used to copy silence samples to a specified buffer.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h