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 public bool bind (GLib.ParamSpec pspec);
9 public bool get_value (Gst.ClockTime timestamp, Gst.Value value);
10 public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
12 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
13 public class Controller : GLib.Object {
14 public weak GLib.Mutex @lock;
15 public weak GLib.Object object;
16 public weak GLib.List properties;
17 [CCode (has_construct_function = false)]
18 public Controller (GLib.Object object);
19 public Gst.Value @get (string property_name, Gst.ClockTime timestamp);
20 public unowned GLib.List get_all (string property_name);
21 public unowned Gst.ControlSource get_control_source (string property_name);
22 public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
23 public bool get_value_arrays (Gst.ClockTime timestamp, GLib.SList value_arrays);
24 public static bool init (int argc, out unowned string argv);
25 [CCode (has_construct_function = false)]
26 public Controller.list (GLib.Object object, GLib.List list);
27 public bool remove_properties ();
28 public bool remove_properties_list (GLib.List list);
29 public bool remove_properties_valist (void* var_args);
30 public bool @set (string property_name, Gst.ClockTime timestamp, Gst.Value value);
31 public bool set_control_source (string property_name, Gst.ControlSource csource);
32 public void set_disabled (bool disabled);
33 public bool set_from_list (string property_name, GLib.SList timedvalues);
34 public bool set_interpolation_mode (string property_name, Gst.InterpolateMode mode);
35 public void set_property_disabled (string property_name, bool disabled);
36 public Gst.ClockTime suggest_next_sync ();
37 public bool sync_values (Gst.ClockTime timestamp);
38 public bool unset (string property_name, Gst.ClockTime timestamp);
39 public bool unset_all (string property_name);
40 [CCode (has_construct_function = false)]
41 public Controller.valist (GLib.Object object, void* var_args);
43 public uint64 control_rate { get; set; }
45 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
46 public class InterpolationControlSource : Gst.ControlSource {
47 public weak GLib.Mutex @lock;
48 [CCode (has_construct_function = false)]
49 public InterpolationControlSource ();
50 public unowned GLib.List get_all ();
51 public int get_count ();
52 public bool @set (Gst.ClockTime timestamp, Gst.Value value);
53 public bool set_from_list (GLib.SList timedvalues);
54 public bool set_interpolation_mode (Gst.InterpolateMode mode);
55 public bool unset (Gst.ClockTime timestamp);
56 public void unset_all ();
58 [CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")]
59 public class LFOControlSource : Gst.ControlSource {
60 public weak GLib.Mutex @lock;
61 [CCode (has_construct_function = false)]
62 public LFOControlSource ();
64 public Gst.Value amplitude { get; set; }
66 public double frequency { get; set; }
68 public Gst.Value offset { get; set; }
70 public uint64 timeshift { get; set; }
72 public Gst.LFOWaveform waveform { get; set; }
75 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
76 public class TimedValue {
77 public Gst.ClockTime timestamp;
78 public Gst.Value value;
81 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
82 public class ValueArray {
84 public weak string property_name;
85 public Gst.ClockTime sample_interval;
88 [CCode (cprefix = "GST_INTERPOLATE_", has_type_id = "0", cheader_filename = "gst/controller/gstcontroller.h")]
89 public enum InterpolateMode {
97 [CCode (cprefix = "", has_type_id = "0", cheader_filename = "gst/controller/gstlfocontrolsource.h")]
98 public enum LFOWaveform {
99 Sine waveform (default),
102 Reverse saw waveform,
105 [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
106 public delegate bool ControlSourceBind (Gst.ControlSource _self, GLib.ParamSpec pspec);
107 [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
108 public delegate bool ControlSourceGetValue (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.Value value);
109 [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
110 public delegate bool ControlSourceGetValueArray (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.ValueArray value_array);
111 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
112 public static unowned Gst.Controller object_control_properties (GLib.Object object);
113 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
114 public static Gst.ClockTime object_get_control_rate (GLib.Object object);
115 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
116 public static unowned Gst.ControlSource object_get_control_source (GLib.Object object, string property_name);
117 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
118 public static unowned Gst.Controller object_get_controller (GLib.Object object);
119 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
120 public static bool object_get_value_array (GLib.Object object, Gst.ClockTime timestamp, Gst.ValueArray value_array);
121 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
122 public static bool object_get_value_arrays (GLib.Object object, Gst.ClockTime timestamp, GLib.SList value_arrays);
123 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
124 public static void object_set_control_rate (GLib.Object object, Gst.ClockTime control_rate);
125 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
126 public static bool object_set_control_source (GLib.Object object, string property_name, Gst.ControlSource csource);
127 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
128 public static bool object_set_controller (GLib.Object object, Gst.Controller controller);
129 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
130 public static Gst.ClockTime object_suggest_next_sync (GLib.Object object);
131 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
132 public static bool object_sync_values (GLib.Object object, Gst.ClockTime timestamp);
133 [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
134 public static bool object_uncontrol_properties (GLib.Object object);