Release 0.7.8
[vala-lang.git] / vapi / gstreamer-controller-0.10.vapi
blob2fa7b7e4e74576e880ce3c74ae38a67f92d1c8b5
1 /* gstreamer-controller-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
6         public class ControlSource : GLib.Object {
7                 public bool bound;
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);
11         }
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);
42                 [NoAccessorMethod]
43                 public uint64 control_rate { get; set; }
44         }
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 ();
57         }
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 ();
63                 [NoAccessorMethod]
64                 public Gst.Value amplitude { get; set; }
65                 [NoAccessorMethod]
66                 public double frequency { get; set; }
67                 [NoAccessorMethod]
68                 public Gst.Value offset { get; set; }
69                 [NoAccessorMethod]
70                 public uint64 timeshift { get; set; }
71                 [NoAccessorMethod]
72                 public Gst.LFOWaveform waveform { get; set; }
73         }
74         [Compact]
75         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
76         public class TimedValue {
77                 public Gst.ClockTime timestamp;
78                 public Gst.Value value;
79         }
80         [Compact]
81         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
82         public class ValueArray {
83                 public int nbsamples;
84                 public weak string property_name;
85                 public Gst.ClockTime sample_interval;
86                 public void* values;
87         }
88         [CCode (cprefix = "GST_INTERPOLATE_", has_type_id = "0", cheader_filename = "gst/controller/gstcontroller.h")]
89         public enum InterpolateMode {
90                 NONE,
91                 TRIGGER,
92                 LINEAR,
93                 QUADRATIC,
94                 CUBIC,
95                 USER
96         }
97         [CCode (cprefix = "", cheader_filename = "gst/controller/gstlfocontrolsource.h")]
98         public enum LFOWaveform {
99                 Sine waveform (default),
100                 Square waveform,
101                 Saw waveform,
102                 Reverse saw waveform,
103                 Triangle waveform
104         }
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);