Class ClockSyncSettings
- Namespace
- VisioForge.Core.Types.X.Special
- Assembly
- VisioForge.Core.dll
Settings of the VisioForge.Core.MediaBlocks.Special.ClockSyncBlock. They are applied when the pipeline starts, so a change made during playback takes effect on the next start.
public class ClockSyncSettingsInheritance
Inherited Members
Properties
Rate
Gets or sets the processing speed as a multiple of real time: 1 passes buffers at real-time speed, 2 at twice real time, 0.5 at half. Default value is 1. This paces the processing only. Every buffer is kept, and the timestamps and duration of the output are unchanged, so a file written at rate 2 still plays at normal speed.
public double Rate { get; set; }Property Value
Exceptions
- ArgumentOutOfRangeException
-
The value is zero, negative, NaN or infinite.
SyncToFirst
Gets or sets a value indicating whether the timestamp offset is taken from the first buffer, so buffers whose timestamps do not start at the pipeline's running time are paced from their first one instead of waiting for (or rushing to) their absolute time. Default value is false.
public bool SyncToFirst { get; set; }