Share via


IAMTimelineObj::SetMuted

 
Microsoft DirectShow 9.0

IAMTimelineObj::SetMuted

The SetMuted method sets the object's muted state. A muted object is not rendered, but it remains in the timeline.

Syntax

  HRESULT SetMuted(
    BOOL newVal
);

Parameters

newVal

Flag that specifies the muted state. If TRUE, the object and all of its children are muted.

Return Value

Returns S_OK.

Remarks

Muting an object also mutes any children contained in the object. For example, if you mute a track, the transitions, sources, and effects in that track are also muted. Once the object is no longer muted, its children revert to their previous state, which might be muted or unmuted.

Requirements

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

Library: Use strmiids.lib.

See Also