summaryrefslogtreecommitdiff
path: root/vapi/gstreamer-controller-0.10.vapi
blob: f3f54a82dc4fc6272e44b516f1c162e5ef71a5b3 (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
130
131
132
133
134
135
136
137
/* gstreamer-controller-0.10.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Gst", gir_namespace = "GstController", gir_version = "0.10", lower_case_cprefix = "gst_")]
namespace Gst {
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public class ControlSource : GLib.Object {
		public bool bound;
		[CCode (has_construct_function = false)]
		protected ControlSource ();
		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.Mutex @lock;
		public weak GLib.Object object;
		public weak GLib.List<Gst.TimedValue> properties;
		[CCode (has_construct_function = false)]
		public Controller (GLib.Object object, ...);
		public GLib.Value @get (string property_name, Gst.ClockTime timestamp);
		public GLib.List<weak Gst.TimedValue> get_all (string property_name);
		public unowned 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<Gst.ValueArray> value_arrays);
		public static bool init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
		[CCode (has_construct_function = false)]
		public Controller.list (GLib.Object object, GLib.List<string> list);
		public bool remove_properties (...);
		public bool remove_properties_list (GLib.List<string> list);
		public bool remove_properties_valist (void* 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<Gst.TimedValue> timedvalues);
		public bool set_interpolation_mode (string property_name, Gst.InterpolateMode mode);
		public void set_property_disabled (string property_name, bool disabled);
		public 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);
		[CCode (has_construct_function = false)]
		public Controller.valist (GLib.Object object, void* var_args);
		[NoAccessorMethod]
		public uint64 control_rate { get; set; }
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public class InterpolationControlSource : Gst.ControlSource {
		public weak GLib.Mutex @lock;
		[CCode (has_construct_function = false)]
		public InterpolationControlSource ();
		public GLib.List<weak Gst.TimedValue> get_all ();
		public int get_count ();
		public bool @set (Gst.ClockTime timestamp, GLib.Value value);
		public bool set_from_list (GLib.SList<Gst.TimedValue> 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;
		[CCode (has_construct_function = false)]
		public LFOControlSource ();
		[NoAccessorMethod]
		public Gst.Value amplitude { owned get; set; }
		[NoAccessorMethod]
		public double frequency { get; set; }
		[NoAccessorMethod]
		public Gst.Value offset { owned get; set; }
		[NoAccessorMethod]
		public uint64 timeshift { get; set; }
		[NoAccessorMethod]
		public Gst.LFOWaveform waveform { get; set; }
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	[Compact]
	public class TimedValue {
		public Gst.ClockTime timestamp;
		public Gst.Value value;
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	[Compact]
	public class ValueArray {
		public int nbsamples;
		public weak string property_name;
		public Gst.ClockTime sample_interval;
		public void* values;
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h", cprefix = "GST_INTERPOLATE_", has_type_id = false)]
	public enum InterpolateMode {
		NONE,
		TRIGGER,
		LINEAR,
		QUADRATIC,
		CUBIC,
		USER
	}
	[CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")]
	public enum LFOWaveform {
		SINE,
		SQUARE,
		SAW,
		REVERSE,
		TRIANGLE
	}
	[CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
	public delegate bool ControlSourceBind (Gst.ControlSource _self, GLib.ParamSpec pspec);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
	public delegate bool ControlSourceGetValue (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.Value value);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
	public delegate bool ControlSourceGetValueArray (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.ValueArray value_array);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static unowned Gst.Controller object_control_properties (GLib.Object object, ...);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static Gst.ClockTime object_get_control_rate (GLib.Object object);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static unowned Gst.ControlSource object_get_control_source (GLib.Object object, string property_name);
	[CCode (cheader_filename = "gst/controller/gstcontroller.h")]
	public static unowned 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<Gst.ValueArray> 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 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, ...);
}