~ubuntu-branches/ubuntu/raring/vala-0.20/raring-proposed

« back to all changes in this revision

Viewing changes to vapi/gstreamer-controller-0.10.vapi

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-04-05 13:45:05 UTC
  • Revision ID: package-import@ubuntu.com-20130405134505-yyk3rec9904i7p8o
Tags: upstream-0.20.1
ImportĀ upstreamĀ versionĀ 0.20.1

Show diffs side-by-side

added added

removed removed

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