Class Clock
public class Clock
- Inheritance
-
Clock
- Inherited Members
Methods
AddObservation(IntPtr, ClockTime, ClockTime, out double)
Calls native method gst_clock_add_observation.
public static extern bool AddObservation(IntPtr clock, ClockTime slave, ClockTime master, out double rSquared)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
slave
ClockTimeTransfer ownership: None Nullable: False
master
ClockTimeTransfer ownership: None Nullable: False
rSquared
doubleTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AddObservationUnapplied(IntPtr, ClockTime, ClockTime, out double, out ClockTime, out ClockTime, out ClockTime, out ClockTime)
Calls native method gst_clock_add_observation_unapplied. Version: 1.6
[Version("1.6")]
public static extern bool AddObservationUnapplied(IntPtr clock, ClockTime slave, ClockTime master, out double rSquared, out ClockTime @internal, out ClockTime external, out ClockTime rateNum, out ClockTime rateDenom)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
slave
ClockTimeTransfer ownership: None Nullable: False
master
ClockTimeTransfer ownership: None Nullable: False
rSquared
doubleTransfer ownership: Full Nullable: False
internal
ClockTimeexternal
ClockTimeTransfer ownership: Full Nullable: False
rateNum
ClockTimeTransfer ownership: Full Nullable: False
rateDenom
ClockTimeTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AdjustUnlocked(IntPtr, ClockTime)
Calls native method gst_clock_adjust_unlocked.
public static extern ulong AdjustUnlocked(IntPtr clock, ClockTime @internal)
Parameters
Returns
- ulong
Transfer ownership: None Nullable: False
AdjustWithCalibration(IntPtr, ClockTime, ClockTime, ClockTime, ClockTime, ClockTime)
Calls native method gst_clock_adjust_with_calibration. Version: 1.6
[Version("1.6")]
public static extern ulong AdjustWithCalibration(IntPtr clock, ClockTime internalTarget, ClockTime cinternal, ClockTime cexternal, ClockTime cnum, ClockTime cdenom)
Parameters
clock
IntPtrTransfer ownership: None Nullable: True
internalTarget
ClockTimeTransfer ownership: None Nullable: False
cinternal
ClockTimeTransfer ownership: None Nullable: False
cexternal
ClockTimeTransfer ownership: None Nullable: False
cnum
ClockTimeTransfer ownership: None Nullable: False
cdenom
ClockTimeTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
GetCalibration(IntPtr, out ClockTime, out ClockTime, out ClockTime, out ClockTime)
Calls native method gst_clock_get_calibration.
public static extern void GetCalibration(IntPtr clock, out ClockTime @internal, out ClockTime external, out ClockTime rateNum, out ClockTime rateDenom)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
internal
ClockTimeexternal
ClockTimeTransfer ownership: Full Nullable: False
rateNum
ClockTimeTransfer ownership: Full Nullable: False
rateDenom
ClockTimeTransfer ownership: Full Nullable: False
GetGType()
Calls native function gst_clock_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetInternalTime(IntPtr)
Calls native method gst_clock_get_internal_time.
public static extern ulong GetInternalTime(IntPtr clock)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
GetMaster(IntPtr)
Calls native method gst_clock_get_master.
public static extern IntPtr GetMaster(IntPtr clock)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
GetResolution(IntPtr)
Calls native method gst_clock_get_resolution.
public static extern ulong GetResolution(IntPtr clock)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
GetTime(IntPtr)
Calls native method gst_clock_get_time.
public static extern ulong GetTime(IntPtr clock)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
GetTimeout(IntPtr)
Calls native method gst_clock_get_timeout.
public static extern ulong GetTimeout(IntPtr clock)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
IdCompareFunc(IntPtr, IntPtr)
Calls native function gst_clock_id_compare_func.
public static extern int IdCompareFunc(IntPtr id1, IntPtr id2)
Parameters
id1
IntPtrTransfer ownership: None Nullable: True
id2
IntPtrTransfer ownership: None Nullable: True
Returns
- int
Transfer ownership: None Nullable: False
IdGetClock(IntPtr)
Calls native function gst_clock_id_get_clock. Version: 1.16
[Version("1.16")]
public static extern IntPtr IdGetClock(IntPtr id)
Parameters
id
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
IdGetTime(IntPtr)
Calls native function gst_clock_id_get_time.
public static extern ulong IdGetTime(IntPtr id)
Parameters
id
IntPtrTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
IdRef(IntPtr)
Calls native function gst_clock_id_ref.
public static extern IntPtr IdRef(IntPtr id)
Parameters
id
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
IdUnref(IntPtr)
Calls native function gst_clock_id_unref.
public static extern void IdUnref(IntPtr id)
Parameters
id
IntPtrTransfer ownership: Full Nullable: False
IdUnschedule(IntPtr)
Calls native function gst_clock_id_unschedule.
public static extern void IdUnschedule(IntPtr id)
Parameters
id
IntPtrTransfer ownership: None Nullable: False
IdUsesClock(IntPtr, IntPtr)
Calls native function gst_clock_id_uses_clock. Version: 1.16
[Version("1.16")]
public static extern bool IdUsesClock(IntPtr id, IntPtr clock)
Parameters
id
IntPtrTransfer ownership: None Nullable: False
clock
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IdWait(IntPtr, out ClockTimeDiff)
Calls native function gst_clock_id_wait.
public static extern ClockReturn IdWait(IntPtr id, out ClockTimeDiff jitter)
Parameters
id
IntPtrTransfer ownership: None Nullable: False
jitter
ClockTimeDiffTransfer ownership: Full Nullable: False
Returns
- ClockReturn
Transfer ownership: None Nullable: False
IdWaitAsync(IntPtr, ClockCallback, IntPtr, DestroyNotify)
Calls native function gst_clock_id_wait_async.
public static extern ClockReturn IdWaitAsync(IntPtr id, ClockCallback func, IntPtr userData, DestroyNotify destroyData)
Parameters
id
IntPtrTransfer ownership: None Nullable: False
func
ClockCallbackTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
destroyData
DestroyNotifyTransfer ownership: None Nullable: False
Returns
- ClockReturn
Transfer ownership: None Nullable: False
IsSynced(IntPtr)
Calls native method gst_clock_is_synced. Version: 1.6
[Version("1.6")]
public static extern bool IsSynced(IntPtr clock)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
NewPeriodicId(IntPtr, ClockTime, ClockTime)
Calls native method gst_clock_new_periodic_id.
public static extern IntPtr NewPeriodicId(IntPtr clock, ClockTime startTime, ClockTime interval)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
startTime
ClockTimeTransfer ownership: None Nullable: False
interval
ClockTimeTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewSingleShotId(IntPtr, ClockTime)
Calls native method gst_clock_new_single_shot_id.
public static extern IntPtr NewSingleShotId(IntPtr clock, ClockTime time)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
time
ClockTimeTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
PeriodicIdReinit(IntPtr, IntPtr, ClockTime, ClockTime)
Calls native method gst_clock_periodic_id_reinit.
public static extern bool PeriodicIdReinit(IntPtr clock, IntPtr id, ClockTime startTime, ClockTime interval)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
id
IntPtrTransfer ownership: None Nullable: False
startTime
ClockTimeTransfer ownership: None Nullable: False
interval
ClockTimeTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetCalibration(IntPtr, ClockTime, ClockTime, ClockTime, ClockTime)
Calls native method gst_clock_set_calibration.
public static extern void SetCalibration(IntPtr clock, ClockTime @internal, ClockTime external, ClockTime rateNum, ClockTime rateDenom)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
internal
ClockTimeexternal
ClockTimeTransfer ownership: None Nullable: False
rateNum
ClockTimeTransfer ownership: None Nullable: False
rateDenom
ClockTimeTransfer ownership: None Nullable: False
SetMaster(IntPtr, IntPtr)
Calls native method gst_clock_set_master.
public static extern bool SetMaster(IntPtr clock, IntPtr master)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
master
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
SetResolution(IntPtr, ClockTime)
Calls native method gst_clock_set_resolution.
public static extern ulong SetResolution(IntPtr clock, ClockTime resolution)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
resolution
ClockTimeTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
SetSynced(IntPtr, bool)
Calls native method gst_clock_set_synced. Version: 1.6
[Version("1.6")]
public static extern void SetSynced(IntPtr clock, bool synced)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
synced
boolTransfer ownership: None Nullable: False
SetTimeout(IntPtr, ClockTime)
Calls native method gst_clock_set_timeout.
public static extern void SetTimeout(IntPtr clock, ClockTime timeout)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
timeout
ClockTimeTransfer ownership: None Nullable: False
SingleShotIdReinit(IntPtr, IntPtr, ClockTime)
Calls native method gst_clock_single_shot_id_reinit.
public static extern bool SingleShotIdReinit(IntPtr clock, IntPtr id, ClockTime time)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
id
IntPtrTransfer ownership: None Nullable: False
time
ClockTimeTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnadjustUnlocked(IntPtr, ClockTime)
Calls native method gst_clock_unadjust_unlocked.
public static extern ulong UnadjustUnlocked(IntPtr clock, ClockTime external)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
external
ClockTimeTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
UnadjustWithCalibration(IntPtr, ClockTime, ClockTime, ClockTime, ClockTime, ClockTime)
Calls native method gst_clock_unadjust_with_calibration. Version: 1.8
[Version("1.8")]
public static extern ulong UnadjustWithCalibration(IntPtr clock, ClockTime externalTarget, ClockTime cinternal, ClockTime cexternal, ClockTime cnum, ClockTime cdenom)
Parameters
clock
IntPtrTransfer ownership: None Nullable: True
externalTarget
ClockTimeTransfer ownership: None Nullable: False
cinternal
ClockTimeTransfer ownership: None Nullable: False
cexternal
ClockTimeTransfer ownership: None Nullable: False
cnum
ClockTimeTransfer ownership: None Nullable: False
cdenom
ClockTimeTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
WaitForSync(IntPtr, ClockTime)
Calls native method gst_clock_wait_for_sync. Version: 1.6
[Version("1.6")]
public static extern bool WaitForSync(IntPtr clock, ClockTime timeout)
Parameters
clock
IntPtrTransfer ownership: None Nullable: False
timeout
ClockTimeTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False