Release 0.36.14
[vala-gnome.git] / vapi / gstreamer-controller-0.10.vapi
blob9080fedd3a5b20bf5b740285ef65597ed5432376
1 /* gstreamer-controller-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstController", gir_version = "0.10", lower_case_cprefix = "gst_")]
4 [Version (deprecated = true, replacement = "gstreamer-1.0")]
5 namespace Gst {
6         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
7         public class ControlSource : GLib.Object {
8                 public bool bound;
9                 [CCode (has_construct_function = false)]
10                 protected ControlSource ();
11                 public bool bind (GLib.ParamSpec pspec);
12                 public bool get_value (Gst.ClockTime timestamp, GLib.Value value);
13                 public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
14         }
15         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
16         public class Controller : GLib.Object {
17                 public GLib.Mutex @lock;
18                 public weak GLib.Object object;
19                 public weak GLib.List<Gst.TimedValue> properties;
20                 [CCode (has_construct_function = false)]
21                 public Controller (GLib.Object object, ...);
22                 public GLib.Value @get (string property_name, Gst.ClockTime timestamp);
23                 public GLib.List<weak Gst.TimedValue> get_all (string property_name);
24                 public unowned Gst.ControlSource get_control_source (string property_name);
25                 public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
26                 public bool get_value_arrays (Gst.ClockTime timestamp, GLib.SList<Gst.ValueArray> value_arrays);
27                 public static bool init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
28                 [CCode (has_construct_function = false)]
29                 public Controller.list (GLib.Object object, GLib.List<string> list);
30                 public bool remove_properties (...);
31                 public bool remove_properties_list (GLib.List<string> list);
32                 public bool remove_properties_valist (void* var_args);
33                 public bool @set (string property_name, Gst.ClockTime timestamp, GLib.Value value);
34                 public bool set_control_source (string property_name, Gst.ControlSource csource);
35                 public void set_disabled (bool disabled);
36                 public bool set_from_list (string property_name, GLib.SList<Gst.TimedValue> timedvalues);
37                 public bool set_interpolation_mode (string property_name, Gst.InterpolateMode mode);
38                 public void set_property_disabled (string property_name, bool disabled);
39                 public Gst.ClockTime suggest_next_sync ();
40                 public bool sync_values (Gst.ClockTime timestamp);
41                 public bool unset (string property_name, Gst.ClockTime timestamp);
42                 public bool unset_all (string property_name);
43                 [CCode (has_construct_function = false)]
44                 public Controller.valist (GLib.Object object, void* var_args);
45                 [NoAccessorMethod]
46                 public uint64 control_rate { get; set; }
47         }
48         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
49         public class InterpolationControlSource : Gst.ControlSource {
50                 public GLib.Mutex @lock;
51                 [CCode (has_construct_function = false)]
52                 public InterpolationControlSource ();
53                 public GLib.List<weak Gst.TimedValue> get_all ();
54                 public int get_count ();
55                 public bool @set (Gst.ClockTime timestamp, GLib.Value value);
56                 public bool set_from_list (GLib.SList<Gst.TimedValue> timedvalues);
57                 public bool set_interpolation_mode (Gst.InterpolateMode mode);
58                 public bool unset (Gst.ClockTime timestamp);
59                 public void unset_all ();
60         }
61         [CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")]
62         public class LFOControlSource : Gst.ControlSource {
63                 public GLib.Mutex @lock;
64                 [CCode (has_construct_function = false)]
65                 public LFOControlSource ();
66                 [NoAccessorMethod]
67                 public Gst.Value amplitude { owned get; set; }
68                 [NoAccessorMethod]
69                 public double frequency { get; set; }
70                 [NoAccessorMethod]
71                 public Gst.Value offset { owned get; set; }
72                 [NoAccessorMethod]
73                 public uint64 timeshift { get; set; }
74                 [NoAccessorMethod]
75                 public Gst.LFOWaveform waveform { get; set; }
76         }
77         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
78         [Compact]
79         public class TimedValue {
80                 public Gst.ClockTime timestamp;
81                 public Gst.Value value;
82         }
83         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
84         [Compact]
85         public class ValueArray {
86                 public int nbsamples;
87                 public weak string property_name;
88                 public Gst.ClockTime sample_interval;
89                 public void* values;
90         }
91         [CCode (cheader_filename = "gst/controller/gstcontroller.h", cprefix = "GST_INTERPOLATE_", has_type_id = false)]
92         public enum InterpolateMode {
93                 NONE,
94                 TRIGGER,
95                 LINEAR,
96                 QUADRATIC,
97                 CUBIC,
98                 USER
99         }
100         [CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")]
101         public enum LFOWaveform {
102                 SINE,
103                 SQUARE,
104                 SAW,
105                 REVERSE,
106                 TRIANGLE
107         }
108         [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
109         public delegate bool ControlSourceBind (Gst.ControlSource _self, GLib.ParamSpec pspec);
110         [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
111         public delegate bool ControlSourceGetValue (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.Value value);
112         [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
113         public delegate bool ControlSourceGetValueArray (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.ValueArray value_array);
114         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
115         public static unowned Gst.Controller object_control_properties (GLib.Object object, ...);
116         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
117         public static Gst.ClockTime object_get_control_rate (GLib.Object object);
118         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
119         public static unowned Gst.ControlSource object_get_control_source (GLib.Object object, string property_name);
120         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
121         public static unowned Gst.Controller object_get_controller (GLib.Object object);
122         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
123         public static bool object_get_value_array (GLib.Object object, Gst.ClockTime timestamp, Gst.ValueArray value_array);
124         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
125         public static bool object_get_value_arrays (GLib.Object object, Gst.ClockTime timestamp, GLib.SList<Gst.ValueArray> value_arrays);
126         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
127         public static void object_set_control_rate (GLib.Object object, Gst.ClockTime control_rate);
128         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
129         public static bool object_set_control_source (GLib.Object object, string property_name, Gst.ControlSource csource);
130         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
131         public static bool object_set_controller (GLib.Object object, Gst.Controller controller);
132         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
133         public static Gst.ClockTime object_suggest_next_sync (GLib.Object object);
134         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
135         public static bool object_sync_values (GLib.Object object, Gst.ClockTime timestamp);
136         [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
137         public static bool object_uncontrol_properties (GLib.Object object, ...);