Microsoft DirectX 9.0

AMTimelineObj.SetMuted Method

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

Syntax

object.SetMuted(
    newVal As Long
)

Parameters

newVal

Value that specifies the muted state. If zero, the object is non muted. If non-zero, the object and all its children are muted.

Error Codes

If the method fails, an error is raised.

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.

See Also