Microsoft DirectX 9.0 |
The IConfigAsfWriter interface is implemented by the WM ASF Writer filter and provides methods for getting and setting the Advanced Systems Format (ASF) profiles the filter will use to write files.
When the WM ASF Writer filter is created, it is configured automatically with a default ASF audio-visual profile based on the incoming streams. A profile describes various attributes of an ASF file such as bit rate, number and type of streams, compression quality, and so on. The filter uses the profile to determine what kind of ASF file to write, how many input pins to create, and what media types to accept. In most cases, the default profile should be suitable, but if it is not, an application can modify it using the IConfigAsfWriter interface. For details about ASF profiles, see the Microsoft® Windows Media™ Software Development Kit (SDK). For more information about writing ASF files, see Creating ASF Files in DirectShow.
Requirements
Requires Dshowasf.h, Windows Media Format SDK.
In addition to the methods inherited from IUnknown, the IConfigAsfWriter interface exposes the following methods.
Method | Description |
ConfigureFilterUsingProfileGuid | Configures the filter to write an ASF file based on the specified predefined Windows Media Format SDK profile GUID. |
ConfigureFilterUsingProfile | Configures the filter to write an ASF file based on the specified application-defined profile. |
ConfigureFilterUsingProfileId | Configures the filter to write an ASF file with a profile identifier (ID) index from the system profile list. (For Windows Media Format 4.0 profiles only.) |
GetCurrentProfileGuid | Retrieves the current ASF profile GUID defined by the Windows Media Format SDK. |
GetCurrentProfile | Retrieves the application-defined ASF profile. |
GetCurrentProfileId | Retrieves the current ASF profile ID. (For Windows Media Format 4.0 profiles only.) |
GetIndexMode | Retrieves the current index mode. |
SetIndexMode | Enables the application to control whether the file will be indexed and therefore seekable. |