IAMStreamConfig interface

The IAMStreamConfig interface sets the output format on certain capture and compression filters, for both audio and video. Applications can use this interface to set format properties, such as the output dimensions and frame rate (for video) or the sample rate and number of channels (for audio).

Methods

The IAMStreamConfig interface has these methods.

Method Description
IAMStreamConfig::GetFormat The GetFormat method retrieves the current or preferred output format.
IAMStreamConfig::GetNumberOfCapabilities The GetNumberOfCapabilities method retrieves the number of format capabilities that this pin supports.
IAMStreamConfig::GetStreamCaps The GetStreamCaps method retrieves a set of format capabilities.
IAMStreamConfig::SetFormat The SetFormat method sets the output format on the pin.

Remarks

Filters expose this interface on their output pins. To use the interface, enumerate the filter's pins and query for IAMStreamConfig. Or, if you are using the Capture Graph Builder object to build the filter graph, you can call the ICaptureGraphBuilder2::FindInterface method. Note that a capture filter might have separate pins for capture and preview.

Filter Developers

If you are writing a capture filter or compression filter, implement this interface on the video or audio output pin. For more information, see Exposing Capture and Compression Formats.

Requirements

   
Windows version Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See Also

Interfaces