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).
Members
The IAMStreamConfig interface inherits from the IUnknown interface. IAMStreamConfig also has these types of members:
Methods
The IAMStreamConfig interface has these methods.
| Method | Description |
|---|---|
| GetFormat |
Retrieves the current or preferred output format. |
| GetNumberOfCapabilities |
Retrieves the number of format capabilities that this pin supports. |
| GetStreamCaps |
Retrieves a set of format capabilities. |
| SetFormat |
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/21/2012
