Packages
gstreamer-0.10
Gst
ClockID
compare_func
ClockID.periodic
ClockID.single_shot
get_time
unschedule
wait
wait_async
wait_async_full
Stays crunchy ...
... even in milk.
Valadoc
Vala
Tutorial
Vala Journal
API-References
Markup
About
ClockID
Object Hierarchy:
Description:
[
Compact
]
public
class
ClockID
A datatype to hold the handle to an outstanding sync or async clock callback.
Namespace:
Gst
Package:
gstreamer-0.10
Content:
Static methods:
public
static
int
compare_func
(
void
* id1,
void
* id2)
Compares the two
ClockID
instances.
Creation methods:
public
ClockID.periodic
(
Clock
clock,
ClockTime
start_time,
ClockTime
interval)
Get an ID from
clock
to trigger a periodic notification.
public
ClockID.single_shot
(
Clock
clock,
ClockTime
time)
Get a
ClockID
from
clock
to trigger a single shot notification at the requested time.
Methods:
public
ClockTime
get_time
()
Get the time of the clock ID
public
void
unschedule
()
Cancel an outstanding request with
id
.
public
ClockReturn
wait
(
out
ClockTimeDiff
jitter)
Perform a blocking wait on
id
.
public
ClockReturn
wait_async
(
ClockCallback
func)
Register a callback on the given
ClockID
id
with the given function and user_data.
public
ClockReturn
wait_async_full
(
ClockCallback
func,
DestroyNotify
destroy_data)
Register a callback on the given
ClockID
id
with the given function and user_data.