Table of Contents

Class AudioClock

Namespace
GstAudio
Assembly
GstAudio-1.0.dll
public class AudioClock : SystemClock, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
AudioClock
Implements
Inherited Members

Constructors

AudioClock(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 AudioClock(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

AudioClock(CreationData)

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

Parameters

data CreationData

AudioClock(AudioClockHandle)

protected AudioClock(AudioClockHandle handle)

Parameters

handle AudioClockHandle

Methods

Adjust(ClockTime)

public ClockTime Adjust(ClockTime time)

Parameters

time ClockTime

Returns

ClockTime

GetGType()

public static Type GetGType()

Returns

Type

GetTime()

public ClockTime GetTime()

Returns

ClockTime

Invalidate()

public void Invalidate()

New(string, AudioClockGetTimeFunc)

public static AudioClock New(string name, AudioClockGetTimeFunc func)

Parameters

name string
func AudioClockGetTimeFunc

Returns

AudioClock

NewFromPointer(nint, bool)

Creates a new managed AudioClock instance for a given pointer.

public static AudioClock NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

AudioClock

NewWithProperties(ConstructArgument[])

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

public static AudioClock NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

AudioClock

Reset(ClockTime)

public void Reset(ClockTime time)

Parameters

time ClockTime