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
constructArgumentsConstructArgument[]
AudioClock(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected AudioClock(CreationData data)
Parameters
dataCreationData
AudioClock(AudioClockHandle)
protected AudioClock(AudioClockHandle handle)
Parameters
handleAudioClockHandle
Methods
Adjust(ClockTime)
public ClockTime Adjust(ClockTime time)
Parameters
timeClockTime
Returns
GetGType()
public static Type GetGType()
Returns
GetTime()
public ClockTime GetTime()
Returns
Invalidate()
public void Invalidate()
New(string, AudioClockGetTimeFunc)
public static AudioClock New(string name, AudioClockGetTimeFunc func)
Parameters
namestringfuncAudioClockGetTimeFunc
Returns
NewFromPointer(nint, bool)
Creates a new managed AudioClock instance for a given pointer.
public static AudioClock NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new AudioClock and sets the properties specified by the construct arguments.
public static AudioClock NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Reset(ClockTime)
public void Reset(ClockTime time)
Parameters
timeClockTime