1GStreamer::Clock(3) User Contributed Perl Documentation GStreamer::Clock(3)
2
3
4
6 GStreamer::Clock
7
9 Glib::Object
10 +----GStreamer::Object
11 +----GStreamer::Clock
12
14 clockid = $clock->new_periodic_id ($start_time, $interval)
15 · $start_time (unsigned integer)
16
17 · $interval (unsigned integer)
18
19 clockid = $clock->new_single_shot_id ($time)
20 · $time (unsigned integer)
21
22 list = $clock->add_observation ($slave, $master)
23 · $slave (unsigned integer)
24
25 · $master (unsigned integer)
26
27 unsigned integer = $clock->adjust_unlocked ($internal)
28 · $internal (unsigned integer)
29
30 (internal, external, rate_num, rate_denom) = $clock->get_calibration
31 $clock->set_calibration ($internal, $external, $rate_num, $rate_denom)
32 · $internal (unsigned integer)
33
34 · $external (unsigned integer)
35
36 · $rate_num (unsigned integer)
37
38 · $rate_denom (unsigned integer)
39
40 unsigned integer = $clock->get_internal_time
41 clock or undef = $clock->get_master
42 boolean = $clock->set_master ($master)
43 · $master (GStreamer::Clock)
44
45 64 bit unsigned = $clock->get_resolution
46 64 bit unsigned = $clock->set_resolution ($resolution)
47 · $resolution (64 bit unsigned)
48
49 unsigned integer = $clock->get_time
51 'stats' (boolean : default false : readable / writable / private)
52 Enable clock stats (unimplemented)
53
54 'timeout' (Glib::UInt64 : default 100000000 : readable / writable /
55 private)
56 The amount of time, in nanoseconds, to sample master and slave
57 clocks
58
59 'window-size' (integer : default 32 : readable / writable / private)
60 The size of the window used to calculate rate and offset
61
62 'window-threshold' (integer : default 4 : readable / writable /
63 private)
64 The threshold to start calculating rate and offset
65
67 GStreamer, Glib::Object, GStreamer::Object
68
70 Copyright (C) 2005-2014 by the gtk2-perl team.
71
72 This software is licensed under the LGPL. See GStreamer for a full
73 notice.
74
75
76
77perl v5.30.0 2019-09-19 GStreamer::Clock(3)