IAMStreamSelect interface (strmif.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The IAMStreamSelect
interface selects from the available streams on a parser filter. For example, a file might contain audio streams encoded in several languages, such as English, German, and French. The application could use this interface to select which language is played.
Inheritance
The IAMStreamSelect interface inherits from the IUnknown interface. IAMStreamSelect also has these types of members:
Methods
The IAMStreamSelect interface has these methods.
IAMStreamSelect::Count The Count method retrieves the number of available streams. |
IAMStreamSelect::Enable The Enable method enables or disables a given stream. |
IAMStreamSelect::Info The Info method retrieves information about a given stream. |
Remarks
The following filters implement this interface:
- MPEG-1 Stream Splitter filter
- MPEG-2 Splitter filter
- SAMI (CC) Parser filter
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |