Class SourceSwitchSettings
- Namespace
- VisioForge.Core.Types.X.Special
- Assembly
- VisioForge.Core.dll
Represents the currently active sink pad.
public class SourceSwitchSettingsInheritance
Inherited Members
Constructors
SourceSwitchSettings(int)
Initializes a new instance of the VisioForge.Core.Types.X.Special.SourceSwitchSettings class.
public SourceSwitchSettings(int padsCount = 2)Parameters
padsCountint-
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
CustomName
Gets or sets the custom name, to see in logs.
public string CustomName { get; set; }Property Value
DefaultActivePad
The currently active sink pad.
public int DefaultActivePad { get; set; }Property Value
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
PadsCount
Gets or sets the pads count.
public int PadsCount { get; set; }Property Value
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
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; }