Table of Contents

Class ControlSource

Namespace
Gst
Assembly
Gst-1.0.dll
public class ControlSource : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
ControlSource
Implements
Inherited Members

Constructors

ControlSource(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ControlSource(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ControlSource(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ControlSource(CreationData data)

Parameters

data CreationData

ControlSource(ControlSourceHandle)

protected ControlSource(ControlSourceHandle handle)

Parameters

handle ControlSourceHandle

Methods

ControlSourceGetValue(ClockTime, out double)

public bool ControlSourceGetValue(ClockTime timestamp, out double value)

Parameters

timestamp ClockTime
value double

Returns

bool

ControlSourceGetValueArray(ClockTime, ClockTime, Span<double>)

public bool ControlSourceGetValueArray(ClockTime timestamp, ClockTime interval, Span<double> values)

Parameters

timestamp ClockTime
interval ClockTime
values Span<double>

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed ControlSource instance for a given pointer.

public static ControlSource NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ControlSource

NewWithProperties(ConstructArgument[])

Creates a new ControlSource and sets the properties specified by the construct arguments.

public static ControlSource NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ControlSource