Release 0.36.14
[vala-gnome.git] / vapi / gstreamer-controller-1.0.vapi
blobd9d31d87a1e0f73ab209201e092130386cd99b30
1 /* gstreamer-controller-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstController", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace Controller {
6                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstARGBControlBinding", lower_case_cprefix = "gst_argb_control_binding_", type_id = "gst_argb_control_binding_get_type ()")]
7                 [GIR (name = "ARGBControlBinding")]
8                 public class ARGBControlBinding : Gst.ControlBinding {
9                         [CCode (has_construct_function = false, type = "GstControlBinding*")]
10                         public ARGBControlBinding (Gst.Object object, string property_name, Gst.ControlSource cs_a, Gst.ControlSource cs_r, Gst.ControlSource cs_g, Gst.ControlSource cs_b);
11                         [NoAccessorMethod]
12                         public Gst.ControlSource control_source_a { owned get; set construct; }
13                         [NoAccessorMethod]
14                         public Gst.ControlSource control_source_b { owned get; set construct; }
15                         [NoAccessorMethod]
16                         public Gst.ControlSource control_source_g { owned get; set construct; }
17                         [NoAccessorMethod]
18                         public Gst.ControlSource control_source_r { owned get; set construct; }
19                 }
20                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstControlPoint", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_control_point_", type_id = "gst_control_point_get_type ()")]
21                 [Compact]
22                 [GIR (name = "ControlPoint")]
23                 public class ControlPoint {
24                         [CCode (cname = "cache.cubic.h")]
25                         public double cache_cubic_h;
26                         [CCode (cname = "cache.cubic_monotonic.c1s")]
27                         public double cache_cubic_monotonic_c1s;
28                         [CCode (cname = "cache.cubic_monotonic.c2s")]
29                         public double cache_cubic_monotonic_c2s;
30                         [CCode (cname = "cache.cubic_monotonic.c3s")]
31                         public double cache_cubic_monotonic_c3s;
32                         [CCode (cname = "cache.cubic.z")]
33                         public double cache_cubic_z;
34                         public Gst.ClockTime timestamp;
35                         public double value;
36                 }
37                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstDirectControlBinding", lower_case_cprefix = "gst_direct_control_binding_", type_id = "gst_direct_control_binding_get_type ()")]
38                 [GIR (name = "DirectControlBinding")]
39                 public class DirectControlBinding : Gst.ControlBinding {
40                         [CCode (cname = "ABI.abi.want_absolute")]
41                         public bool ABI_abi_want_absolute;
42                         [CCode (has_construct_function = false, type = "GstControlBinding*")]
43                         public DirectControlBinding (Gst.Object object, string property_name, Gst.ControlSource cs);
44                         [CCode (cname = "gst_direct_control_binding_new_absolute", has_construct_function = false, type = "GstControlBinding*")]
45                         [Version (since = "1.6")]
46                         public DirectControlBinding.with_absolute (Gst.Object object, string property_name, Gst.ControlSource cs);
47                         [NoAccessorMethod]
48                         public bool absolute { get; construct; }
49                         [NoAccessorMethod]
50                         public Gst.ControlSource control_source { owned get; set construct; }
51                 }
52                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstInterpolationControlSource", lower_case_cprefix = "gst_interpolation_control_source_", type_id = "gst_interpolation_control_source_get_type ()")]
53                 [GIR (name = "InterpolationControlSource")]
54                 public class InterpolationControlSource : Gst.Controller.TimedValueControlSource {
55                         [CCode (has_construct_function = false, type = "GstControlSource*")]
56                         public InterpolationControlSource ();
57                         [NoAccessorMethod]
58                         public Gst.Controller.InterpolationMode mode { get; set; }
59                 }
60                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstLFOControlSource", lower_case_cprefix = "gst_lfo_control_source_", type_id = "gst_lfo_control_source_get_type ()")]
61                 [GIR (name = "LFOControlSource")]
62                 public class LFOControlSource : Gst.ControlSource {
63                         [CCode (has_construct_function = false, type = "GstControlSource*")]
64                         public LFOControlSource ();
65                         [NoAccessorMethod]
66                         public double amplitude { get; set; }
67                         [NoAccessorMethod]
68                         public double frequency { get; set; }
69                         [NoAccessorMethod]
70                         public double offset { get; set; }
71                         [NoAccessorMethod]
72                         public uint64 timeshift { get; set; }
73                         [NoAccessorMethod]
74                         public Gst.Controller.LFOWaveform waveform { get; set; }
75                 }
76                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstProxyControlBinding", lower_case_cprefix = "gst_proxy_control_binding_", type_id = "gst_proxy_control_binding_get_type ()")]
77                 [GIR (name = "ProxyControlBinding")]
78                 public class ProxyControlBinding : Gst.ControlBinding {
79                         [CCode (has_construct_function = false, type = "GstControlBinding*")]
80                         [Version (since = "1.12")]
81                         public ProxyControlBinding (Gst.Object object, string property_name, Gst.Object ref_object, string ref_property_name);
82                 }
83                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstTimedValueControlSource", lower_case_cprefix = "gst_timed_value_control_source_", type_id = "gst_timed_value_control_source_get_type ()")]
84                 [GIR (name = "TimedValueControlSource")]
85                 public abstract class TimedValueControlSource : Gst.ControlSource {
86                         public GLib.Mutex @lock;
87                         public int nvalues;
88                         public bool valid_cache;
89                         public GLib.Sequence<Gst.Controller.ControlPoint?> values;
90                         [CCode (has_construct_function = false)]
91                         protected TimedValueControlSource ();
92                         public unowned GLib.SequenceIter find_control_point_iter (Gst.ClockTime timestamp);
93                         public GLib.List<weak Gst.TimedValue?> get_all ();
94                         public int get_count ();
95                         public bool @set (Gst.ClockTime timestamp, double value);
96                         public bool set_from_list (GLib.SList<Gst.TimedValue?> timedvalues);
97                         public bool unset (Gst.ClockTime timestamp);
98                         public void unset_all ();
99                         [Version (since = "1.6")]
100                         public signal void value_added (Gst.Controller.ControlPoint timed_value);
101                         [Version (since = "1.6")]
102                         public signal void value_changed (Gst.Controller.ControlPoint timed_value);
103                         [Version (since = "1.6")]
104                         public signal void value_removed (Gst.Controller.ControlPoint timed_value);
105                 }
106                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstTriggerControlSource", lower_case_cprefix = "gst_trigger_control_source_", type_id = "gst_trigger_control_source_get_type ()")]
107                 [GIR (name = "TriggerControlSource")]
108                 public class TriggerControlSource : Gst.Controller.TimedValueControlSource {
109                         [CCode (has_construct_function = false, type = "GstControlSource*")]
110                         public TriggerControlSource ();
111                         [NoAccessorMethod]
112                         public int64 tolerance { get; set; }
113                 }
114                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstInterpolationMode", cprefix = "GST_INTERPOLATION_MODE_", type_id = "gst_interpolation_mode_get_type ()")]
115                 [GIR (name = "InterpolationMode")]
116                 public enum InterpolationMode {
117                         NONE,
118                         LINEAR,
119                         CUBIC,
120                         CUBIC_MONOTONIC
121                 }
122                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstLFOWaveform", cprefix = "GST_LFO_WAVEFORM_", type_id = "gst_lfo_waveform_get_type ()")]
123                 [GIR (name = "LFOWaveform")]
124                 public enum LFOWaveform {
125                         SINE,
126                         SQUARE,
127                         SAW,
128                         REVERSE_SAW,
129                         TRIANGLE
130                 }
131                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstDirectControlBindingConvertGValue", has_target = false)]
132                 public delegate void DirectControlBindingConvertGValue (Gst.Controller.DirectControlBinding self, double src_value, GLib.Value dest_value);
133                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstDirectControlBindingConvertValue", has_target = false)]
134                 public delegate void DirectControlBindingConvertValue (Gst.Controller.DirectControlBinding self, double src_value, void* dest_value);
135                 [CCode (cheader_filename = "gst/controller/controller.h", cname = "gst_timed_value_control_invalidate_cache")]
136                 public static void timed_value_control_invalidate_cache (Gst.Controller.TimedValueControlSource self);
137         }