1 /* gstreamer-controller-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
6 public class ControlSource : GLib.Object {
8 [CCode (has_construct_function = false)]
9 protected ControlSource ();
10 public bool bind (GLib.ParamSpec pspec);
11 public bool get_value (Gst.ClockTime timestamp, Gst.Value value);
12 public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
14 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
15 public class Controller : GLib.Object {
16 public weak GLib.Mutex @lock;
17 public weak GLib.Object object;
18 public weak GLib.List<Gst.TimedValue> properties;
19 [CCode (has_construct_function = false)]
20 public Controller (GLib.Object object, ...);
21 public Gst.Value @get (string property_name, Gst.ClockTime timestamp);
22 public GLib.List<weak Gst.TimedValue> get_all (string property_name);
23 public unowned Gst.ControlSource get_control_source (string property_name);
24 public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
25 public bool get_value_arrays (Gst.ClockTime timestamp, GLib.SList<Gst.ValueArray> value_arrays);
26 public static bool init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
27 [CCode (has_construct_function = false)]
28 public Controller.list (GLib.Object object, GLib.List<string> list);
29 public bool remove_properties (...);
30 public bool remove_properties_list (GLib.List<string> list);
31 public bool remove_properties_valist (void* var_args);
32 public bool @set (string property_name, Gst.ClockTime timestamp, Gst.Value value);
33 public bool set_control_source (string property_name, Gst.ControlSource csource);
34 public void set_disabled (bool disabled);
35 public bool set_from_list (string property_name, GLib.SList<Gst.TimedValue> timedvalues);
36 public bool set_interpolation_mode (string property_name, Gst.InterpolateMode mode);
37 public void set_property_disabled (string property_name, bool disabled);
38 public Gst.ClockTime suggest_next_sync ();
39 public bool sync_values (Gst.ClockTime timestamp);
40 public bool unset (string property_name, Gst.ClockTime timestamp);
41 public bool unset_all (string property_name);
42 [CCode (has_construct_function = false)]
43 public Controller.valist (GLib.Object object, void* var_args);
45 public uint64 control_rate { get; set; }
47 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
48 public class InterpolationControlSource : Gst.ControlSource {
49 public weak GLib.Mutex @lock;
50 [CCode (has_construct_function = false)]
51 public InterpolationControlSource ();
52 public GLib.List<weak Gst.TimedValue> get_all ();
53 public int get_count ();
54 public bool @set (Gst.ClockTime timestamp, Gst.Value value);
55 public bool set_from_list (GLib.SList<Gst.TimedValue> timedvalues);
56 public bool set_interpolation_mode (Gst.InterpolateMode mode);
57 public bool unset (Gst.ClockTime timestamp);
58 public void unset_all ();
60 [CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")]
61 public class LFOControlSource : Gst.ControlSource {
62 public weak GLib.Mutex @lock;
63 [CCode (has_construct_function = false)]
64 public LFOControlSource ();
66 public Gst.Value amplitude { get; set; }
68 public double frequency { get; set; }
70 public Gst.Value offset { get; set; }
72 public uint64 timeshift { get; set; }
74 public Gst.LFOWaveform waveform { get; set; }
77 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
78 public class TimedValue {
79 public Gst.ClockTime timestamp;
80 public Gst.Value value;
83 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
84 public class ValueArray {
86 public weak string property_name;
87 public Gst.ClockTime sample_interval;
90 [CCode (cprefix = "GST_INTERPOLATE_", has_type_id = false, cheader_filename = "gst/controller/gstcontroller.h")]
91 public enum InterpolateMode {
99 [CCode (cprefix = "GST_LFO_WAVEFORM_", cheader_filename = "gst/controller/gstlfocontrolsource.h")]
100 public enum LFOWaveform {
107 [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
108 public delegate bool ControlSourceBind (Gst.ControlSource _self, GLib.ParamSpec pspec);
109 [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
110 public delegate bool ControlSourceGetValue (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.Value value);
111 [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
112 public delegate bool ControlSourceGetValueArray (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.ValueArray value_array);
113 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
114 public static unowned Gst.Controller object_control_properties (GLib.Object object, ...);
115 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
116 public static Gst.ClockTime object_get_control_rate (GLib.Object object);
117 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
118 public static unowned Gst.ControlSource object_get_control_source (GLib.Object object, string property_name);
119 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
120 public static unowned Gst.Controller object_get_controller (GLib.Object object);
121 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
122 public static bool object_get_value_array (GLib.Object object, Gst.ClockTime timestamp, Gst.ValueArray value_array);
123 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
124 public static bool object_get_value_arrays (GLib.Object object, Gst.ClockTime timestamp, GLib.SList<Gst.ValueArray> value_arrays);
125 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
126 public static void object_set_control_rate (GLib.Object object, Gst.ClockTime control_rate);
127 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
128 public static bool object_set_control_source (GLib.Object object, string property_name, Gst.ControlSource csource);
129 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
130 public static bool object_set_controller (GLib.Object object, Gst.Controller controller);
131 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
132 public static Gst.ClockTime object_suggest_next_sync (GLib.Object object);
133 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
134 public static bool object_sync_values (GLib.Object object, Gst.ClockTime timestamp);
135 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
136 public static bool object_uncontrol_properties (GLib.Object object, ...);