summaryrefslogtreecommitdiff
path: root/vapi/gstreamer-controller-0.10.vapi
blob: 492b2876eaad9025cc57ca36efb0d88bf695304e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* gstreamer-controller-0.10.vapi generated by lt-vapigen, do not modify. */

[CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
namespace Gst {
	[CCode (cprefix = "GST_INTERPOLATE_", cheader_filename = "gst/controller/gstcontroller.h")]
	public enum InterpolateMode {
		NONE,
		TRIGGER,
		LINEAR,
		QUADRATIC,
		CUBIC,
		USER,
	}
	[CCode (cprefix = "", cheader_filename = "gst/controller/gstlfocontrolsource.h")]
	public enum LFOWaveform {
		Sine waveform (default),
		Square waveform,
		Saw waveform,
		Reverse saw waveform,
		Triangle waveform,
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public class TimedValue {
		public weak Gst.ClockTime timestamp;
		public GLib.Value value;
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public class ValueArray {
		public weak string property_name;
		public int nbsamples;
		public weak Gst.ClockTime sample_interval;
		public pointer values;
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public class ControlSource : GLib.Object {
		public bool bound;
		public bool bind (GLib.ParamSpec pspec);
		public bool get_value (Gst.ClockTime timestamp, GLib.Value value);
		public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public class Controller : GLib.Object {
		public weak GLib.List properties;
		public weak GLib.Mutex @lock;
		public weak GLib.Object object;
		public GLib.Value get (string property_name, Gst.ClockTime timestamp);
		public weak GLib.List get_all (string property_name);
		public weak Gst.ControlSource get_control_source (string property_name);
		public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
		public bool get_value_arrays (Gst.ClockTime timestamp, GLib.SList value_arrays);
		public static bool init (int argc, out weak string argv);
		public Controller (GLib.Object object);
		public Controller.list (GLib.Object object, GLib.List list);
		public Controller.valist (GLib.Object object, pointer var_args);
		public bool remove_properties ();
		public bool remove_properties_list (GLib.List list);
		public bool remove_properties_valist (pointer var_args);
		public bool set (string property_name, Gst.ClockTime timestamp, GLib.Value value);
		public bool set_control_source (string property_name, Gst.ControlSource csource);
		public void set_disabled (bool disabled);
		public bool set_from_list (string property_name, GLib.SList timedvalues);
		public bool set_interpolation_mode (string property_name, Gst.InterpolateMode mode);
		public void set_property_disabled (string property_name, bool disabled);
		public weak Gst.ClockTime suggest_next_sync ();
		public bool sync_values (Gst.ClockTime timestamp);
		public bool unset (string property_name, Gst.ClockTime timestamp);
		public bool unset_all (string property_name);
		[NoAccessorMethod]
		public weak uint64 control_rate { get; set; }
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public class InterpolationControlSource : Gst.ControlSource {
		public weak GLib.Mutex @lock;
		public weak GLib.List get_all ();
		public int get_count ();
		public InterpolationControlSource ();
		public bool set (Gst.ClockTime timestamp, GLib.Value value);
		public bool set_from_list (GLib.SList timedvalues);
		public bool set_interpolation_mode (Gst.InterpolateMode mode);
		public bool unset (Gst.ClockTime timestamp);
		public void unset_all ();
	}
	[CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")]
	public class LFOControlSource : Gst.ControlSource {
		public weak GLib.Mutex @lock;
		public LFOControlSource ();
		[NoAccessorMethod]
		public weak GLib.Value amplitude { get; set; }
		[NoAccessorMethod]
		public weak double frequency { get; set; }
		[NoAccessorMethod]
		public weak GLib.Value offset { get; set; }
		[NoAccessorMethod]
		public weak uint64 timeshift { get; set; }
		[NoAccessorMethod]
		public weak Gst.LFOWaveform waveform { get; set; }
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static delegate bool ControlSourceBind (Gst.ControlSource self, GLib.ParamSpec pspec);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static delegate bool ControlSourceGetValue (Gst.ControlSource self, Gst.ClockTime timestamp, GLib.Value value);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static delegate bool ControlSourceGetValueArray (Gst.ControlSource self, Gst.ClockTime timestamp, Gst.ValueArray value_array);
	public const int PARAM_CONTROLLABLE;
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static weak Gst.Controller object_control_properties (GLib.Object object);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static weak Gst.ClockTime object_get_control_rate (GLib.Object object);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static weak Gst.ControlSource object_get_control_source (GLib.Object object, string property_name);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static weak Gst.Controller object_get_controller (GLib.Object object);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static bool object_get_value_array (GLib.Object object, Gst.ClockTime timestamp, Gst.ValueArray value_array);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static bool object_get_value_arrays (GLib.Object object, Gst.ClockTime timestamp, GLib.SList value_arrays);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static void object_set_control_rate (GLib.Object object, Gst.ClockTime control_rate);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static bool object_set_control_source (GLib.Object object, string property_name, Gst.ControlSource csource);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static bool object_set_controller (GLib.Object object, Gst.Controller controller);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static weak Gst.ClockTime object_suggest_next_sync (GLib.Object object);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static bool object_sync_values (GLib.Object object, Gst.ClockTime timestamp);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static bool object_uncontrol_properties (GLib.Object object);
}