1 /* gstreamer-interfaces-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/interfaces/colorbalance.h")]
6 public class ColorBalanceChannel : GLib.Object {
7 public weak string label;
10 [CCode (has_construct_function = false)]
11 protected ColorBalanceChannel ();
12 public virtual signal void value_changed (int value);
14 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
15 public class MixerOptions : Gst.MixerTrack {
16 [CCode (has_construct_function = false)]
17 protected MixerOptions ();
18 public unowned GLib.List<string> get_values ();
19 public static void list_changed (Gst.Mixer mixer, Gst.MixerOptions opts);
21 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
22 public class MixerTrack : GLib.Object {
23 [CCode (has_construct_function = false)]
24 protected MixerTrack ();
26 public uint flags { get; }
28 public uint index { get; construct; }
30 public string label { owned get; }
32 public int max_volume { get; }
34 public int min_volume { get; }
36 public int num_channels { get; }
38 public string untranslated_label { owned get; construct; }
40 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
41 public class TunerChannel : GLib.Object {
42 public Gst.TunerChannelFlags flags;
43 public float freq_multiplicator;
44 public weak string label;
45 public ulong max_frequency;
46 public int max_signal;
47 public ulong min_frequency;
48 public int min_signal;
49 [CCode (has_construct_function = false)]
50 protected TunerChannel ();
51 public static void changed (Gst.Tuner tuner, Gst.TunerChannel channel);
52 public virtual signal void frequency_changed (ulong frequency);
53 public virtual signal void signal_changed (int @signal);
55 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
56 public class TunerNorm : GLib.Object {
57 public Gst.Value framerate;
58 public weak string label;
59 [CCode (has_construct_function = false)]
60 protected TunerNorm ();
61 public static void changed (Gst.Tuner tuner, Gst.TunerNorm norm);
63 [CCode (cheader_filename = "gst/interfaces/colorbalance.h")]
64 public interface ColorBalance : Gst.ImplementsInterface, Gst.Element {
65 public Gst.ColorBalanceType get_balance_type ();
66 public abstract int get_value (Gst.ColorBalanceChannel channel);
67 public abstract unowned GLib.List<Gst.ColorBalanceChannel> list_channels ();
68 public abstract void set_value (Gst.ColorBalanceChannel channel, int value);
70 public signal void value_changed (Gst.ColorBalanceChannel channel, int value);
72 [CCode (cheader_filename = "gst/interfaces/mixer.h")]
73 public interface Mixer : Gst.ImplementsInterface, Gst.Element {
74 public abstract Gst.MixerFlags get_mixer_flags ();
75 public Gst.MixerType get_mixer_type ();
76 public abstract unowned string get_option (Gst.MixerOptions opts);
77 public abstract void get_volume (Gst.MixerTrack track, int volumes);
78 public abstract unowned GLib.List<Gst.MixerTrack> list_tracks ();
79 public static Gst.MixerMessageType message_get_type (Gst.Message message);
80 public static void message_parse_mute_toggled (Gst.Message message, out unowned Gst.MixerTrack track, bool mute);
81 public static void message_parse_option_changed (Gst.Message message, out unowned Gst.MixerOptions options, string value);
82 public static void message_parse_options_list_changed (Gst.Message message, out unowned Gst.MixerOptions options);
83 public static void message_parse_record_toggled (Gst.Message message, out unowned Gst.MixerTrack track, bool record);
84 public static void message_parse_volume_changed (Gst.Message message, out unowned Gst.MixerTrack track, int volumes, int num_channels);
85 public void mixer_changed ();
86 public abstract void set_mute (Gst.MixerTrack track, bool mute);
87 public abstract void set_option (Gst.MixerOptions opts, string value);
88 public abstract void set_record (Gst.MixerTrack track, bool record);
89 public abstract void set_volume (Gst.MixerTrack track, int volumes);
91 public signal void mute_toggled (Gst.MixerTrack channel, bool mute);
93 public signal void option_changed (Gst.MixerOptions opts, string option);
95 public signal void record_toggled (Gst.MixerTrack channel, bool record);
97 public signal void volume_changed (Gst.MixerTrack channel, void* volumes);
99 [CCode (cheader_filename = "gst/interfaces/navigation.h")]
100 public interface Navigation : Gst.Element {
101 public static Gst.NavigationEventType event_get_type (Gst.Event event);
102 public static bool event_parse_command (Gst.Event event, Gst.NavigationCommand command);
103 public static bool event_parse_key_event (Gst.Event event, string key);
104 public static bool event_parse_mouse_button_event (Gst.Event event, int button, double x, double y);
105 public static bool event_parse_mouse_move_event (Gst.Event event, double x, double y);
106 public static Gst.NavigationMessageType message_get_type (Gst.Message message);
107 public static unowned Gst.Message message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
108 public static unowned Gst.Message message_new_commands_changed (Gst.Object src);
109 public static unowned Gst.Message message_new_mouse_over (Gst.Object src, bool active);
110 public static bool message_parse_angles_changed (Gst.Message message, uint cur_angle, uint n_angles);
111 public static bool message_parse_mouse_over (Gst.Message message, bool active);
112 public static Gst.NavigationQueryType query_get_type (Gst.Query query);
113 public static unowned Gst.Query query_new_angles ();
114 public static unowned Gst.Query query_new_commands ();
115 public static bool query_parse_angles (Gst.Query query, uint cur_angle, uint n_angles);
116 public static bool query_parse_commands_length (Gst.Query query, uint n_cmds);
117 public static bool query_parse_commands_nth (Gst.Query query, uint nth, Gst.NavigationCommand cmd);
118 public static void query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
119 public static void query_set_commands (Gst.Query query, int n_cmds);
120 public static void query_set_commandsv (Gst.Query query, int n_cmds, Gst.NavigationCommand cmds);
121 public void send_command (Gst.NavigationCommand command);
122 public abstract void send_event (Gst.Structure structure);
123 public void send_key_event (string event, string key);
124 public void send_mouse_event (string event, int button, double x, double y);
126 [CCode (cheader_filename = "gst/interfaces/propertyprobe.h")]
127 public interface PropertyProbe {
128 public abstract unowned GLib.List<string> get_properties ();
129 public unowned GLib.ParamSpec get_property (string name);
130 public abstract unowned GLib.ValueArray get_values (GLib.ParamSpec pspec);
131 public unowned GLib.ValueArray get_values_name (string name);
132 public abstract bool needs_probe (GLib.ParamSpec pspec);
133 public bool needs_probe_name (string name);
134 public unowned GLib.ValueArray probe_and_get_values (GLib.ParamSpec pspec);
135 public unowned GLib.ValueArray probe_and_get_values_name (string name);
136 public abstract void probe_property (GLib.ParamSpec pspec);
137 public void probe_property_name (string name);
138 public signal void probe_needed (void* pspec);
140 [CCode (cheader_filename = "gst/gst.h")]
141 public interface StreamVolume : GLib.Object {
142 public static double convert_volume (Gst.StreamVolumeFormat from, Gst.StreamVolumeFormat to, double val);
143 public bool get_mute ();
144 public double get_volume (Gst.StreamVolumeFormat format);
145 public void set_mute (bool mute);
146 public void set_volume (Gst.StreamVolumeFormat format, double val);
147 public bool mute { get; set; }
148 public double volume { get; set; }
150 [CCode (cheader_filename = "gst/interfaces/tuner.h")]
151 public interface Tuner : Gst.ImplementsInterface, Gst.Element {
152 public unowned Gst.TunerChannel find_channel_by_name (string channel);
153 public unowned Gst.TunerNorm find_norm_by_name (string norm);
154 public abstract unowned Gst.TunerChannel get_channel ();
155 public abstract ulong get_frequency (Gst.TunerChannel channel);
156 public abstract unowned Gst.TunerNorm get_norm ();
157 public abstract unowned GLib.List<Gst.TunerChannel> list_channels ();
158 public abstract unowned GLib.List<Gst.TunerNorm> list_norms ();
159 public abstract void set_channel (Gst.TunerChannel channel);
160 public abstract void set_frequency (Gst.TunerChannel channel, ulong frequency);
161 public abstract void set_norm (Gst.TunerNorm norm);
162 public abstract int signal_strength (Gst.TunerChannel channel);
163 public signal void channel_changed (Gst.TunerChannel channel);
165 public signal void frequency_changed (Gst.TunerChannel channel, ulong frequency);
166 public signal void norm_changed (Gst.TunerNorm norm);
168 public signal void signal_changed (Gst.TunerChannel channel, int @signal);
170 [CCode (cheader_filename = "gst/interfaces/videoorientation.h")]
171 public interface VideoOrientation : Gst.ImplementsInterface, Gst.Element {
172 public abstract bool get_hcenter (int center);
173 public abstract bool get_hflip (bool flip);
174 public abstract bool get_vcenter (int center);
175 public abstract bool get_vflip (bool flip);
176 public abstract bool set_hcenter (int center);
177 public abstract bool set_hflip (bool flip);
178 public abstract bool set_vcenter (int center);
179 public abstract bool set_vflip (bool flip);
181 [CCode (cheader_filename = "gst/interfaces/xoverlay.h", lower_case_csuffix = "x_overlay")]
182 public interface XOverlay : Gst.ImplementsInterface, Gst.Element {
183 public abstract void expose ();
184 public void got_xwindow_id (ulong xwindow_id);
185 public abstract void handle_events (bool handle_events);
186 public void prepare_xwindow_id ();
187 public abstract void set_xwindow_id (ulong xwindow_id);
189 [CCode (cprefix = "GST_COLOR_BALANCE_", cheader_filename = "gst/interfaces/colorbalance.h")]
190 public enum ColorBalanceType {
194 [CCode (cprefix = "GST_MIXER_FLAG_", cheader_filename = "gst/interfaces/mixer.h")]
196 public enum MixerFlags {
202 [CCode (cprefix = "GST_MIXER_MESSAGE_", cheader_filename = "gst/interfaces/mixer.h")]
203 public enum MixerMessageType {
209 OPTIONS_LIST_CHANGED,
212 [CCode (cprefix = "GST_MIXER_TRACK_", cheader_filename = "gst/interfaces/mixertrack.h")]
214 public enum MixerTrackFlags {
227 [CCode (cprefix = "GST_MIXER_", cheader_filename = "gst/interfaces/mixer.h")]
228 public enum MixerType {
232 [CCode (cprefix = "GST_NAVIGATION_COMMAND_", cheader_filename = "gst/gst.h")]
233 public enum NavigationCommand {
250 [CCode (cprefix = "GST_NAVIGATION_EVENT_", cheader_filename = "gst/gst.h")]
251 public enum NavigationEventType {
256 MOUSE_BUTTON_RELEASE,
260 [CCode (cprefix = "GST_NAVIGATION_MESSAGE_", cheader_filename = "gst/gst.h")]
261 public enum NavigationMessageType {
267 [CCode (cprefix = "GST_NAVIGATION_QUERY_", cheader_filename = "gst/gst.h")]
268 public enum NavigationQueryType {
273 [CCode (cprefix = "GST_STREAM_VOLUME_FORMAT_", cheader_filename = "gst/gst.h")]
274 public enum StreamVolumeFormat {
279 [CCode (cprefix = "GST_TUNER_CHANNEL_", cheader_filename = "gst/interfaces/tuner.h")]
281 public enum TunerChannelFlags {