共用方式為


IAMStreamSelect Interface

 
Microsoft DirectShow 9.0

IAMStreamSelect Interface

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.

In addition to the methods inherited from IUnknown, the IAMStreamSelect interface exposes the following methods.

Method Description
Count Retrieves the number of available streams.
Enable Enables or disables a given stream.
Info Retrieves information about a given stream.

Remarks

The following filters implement this interface:

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.