Microsoft DirectX 9.0

IAMTimelineTrack Interface

The IAMTimelineTrack interface provides methods for manipulating track objects in DirectShow Editing Services (DES).

A track contains a list of sources that are rendered in the final output. Sources within the same track may not overlap. Video tracks can have both effects and transitions. The render engine applies effects before it applies transitions. Audio tracks can have effects, but not transitions. For more information, see The Timeline Model.

To create a track object, call IAMTimeline::CreateEmptyNode with the value TIMELINE_MAJOR_TYPE_TRACK. You can query the returned IAMTimelineObj pointer for the IAMTimelineTrack interface.

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

Method Description
AreYouBlank Determines whether the track is blank (contains no source objects).
GetNextSrc Searches the track for the next source that appears at the specified time or later.
GetNextSrc2 Searches the track for the next source that appears at the specified time or later, with the given as a REFTIME value.
GetNextSrcEx Retrieves the next source after the specified source.
GetSourcesCount Retrieves the number of sources in the track.
GetSrcAtTime Retrieves the source object nearest to the specified time, according to the specified boundary conditions.
GetSrcAtTime2 Retrieves the source object nearest to the specified time, given as a REFTIME value.
InsertSpace Splits any objects that exist at the specified time and inserts space between them.
InsertSpace2 Splits any objects that exist at the specified time and inserts space between them, using REFTIME values.
MoveEverythingBy Not supported.
MoveEverythingBy2 Not supported.
SrcAdd Adds a source to the track.
ZeroBetween Removes everything from the track between the specified times.
ZeroBetween2 Removes everything from the track between the specified times, given as REFTIME values.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.