Table of Contents

Class SourceSwitchSettings

Namespace
VisioForge.Core.Types.X.Special
Assembly
VisioForge.Core.dll

Represents the currently active sink pad.

public class SourceSwitchSettings

Inheritance

Inherited Members

Constructors

SourceSwitchSettings(int)

Initializes a new instance of the VisioForge.Core.Types.X.Special.SourceSwitchSettings class.

public SourceSwitchSettings(int padsCount = 2)

Parameters

padsCount int

The pads count.

Properties

CacheBuffers

Determines if the active pad caches the buffers still considered valid to avoid missing frames when the pad is reactivated. Default value is false.

public bool CacheBuffers { get; set; }

Property Value

bool

CustomName

Gets or sets the custom name, to see in logs.

public string CustomName { get; set; }

Property Value

string

DefaultActivePad

The currently active sink pad.

public int DefaultActivePad { get; set; }

Property Value

int

DropBackwards

If true, drops buffers that go backwards relative to the last output buffer pre-switch. Default value is false.

public bool DropBackwards { get; set; }

Property Value

bool

PadsCount

Gets or sets the pads count.

public int PadsCount { get; set; }

Property Value

int

SyncMode

Selects how input-selector will sync buffers when in sync-streams mode. Default value is InputSelectorSyncMode.ActiveSegment.

public InputSelectorSyncMode SyncMode { get; set; }

Property Value

InputSelectorSyncMode

SyncStreams

If set to true, all inactive streams will be synced to the running time of the active stream or to the current clock.

public bool SyncStreams { get; set; }

Property Value

bool