Table of Contents

Class AudioClock

Namespace
GstAudio.Internal
Assembly
GstAudio-1.0.dll
public class AudioClock
Inheritance
AudioClock
Inherited Members

Methods

Adjust(IntPtr, ClockTime)

Calls native method gst_audio_clock_adjust.

public static extern ulong Adjust(IntPtr clock, ClockTime time)

Parameters

clock IntPtr

Transfer ownership: None Nullable: False

time ClockTime

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_audio_clock_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetTime(IntPtr)

Calls native method gst_audio_clock_get_time.

public static extern ulong GetTime(IntPtr clock)

Parameters

clock IntPtr

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

Invalidate(IntPtr)

Calls native method gst_audio_clock_invalidate.

public static extern void Invalidate(IntPtr clock)

Parameters

clock IntPtr

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, AudioClockGetTimeFunc, IntPtr, DestroyNotify)

Calls native constructor gst_audio_clock_new.

public static extern IntPtr New(NonNullableUtf8StringHandle name, AudioClockGetTimeFunc func, IntPtr userData, DestroyNotify destroyNotify)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

func AudioClockGetTimeFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

destroyNotify DestroyNotify

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Reset(IntPtr, ClockTime)

Calls native method gst_audio_clock_reset.

public static extern void Reset(IntPtr clock, ClockTime time)

Parameters

clock IntPtr

Transfer ownership: None Nullable: False

time ClockTime

Transfer ownership: None Nullable: False