Microsoft DirectX 9.0

IAMParse Interface

The IAMParse interface is implemented on the MPEG-2 Splitter filter. The interface enables an application to query and set the parse time—a notional time associated with the current position in the stream of bytes supplied to the parser filter. This time is also tied to the origin of the time stamps in that time stamp zero corresponds to parse time zero.

Use this interface to retrieve or set the current stream parse time or to clear the data buffer of its current data.

Requirements

Requires Amparse.h.

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

Method Description
Flush Empties the current file buffer.
GetParseTime Retrieves the current stream parse time.
SetParseTime Sets the current stream parse time.