glib-2.0: add feature test macro _GNU_SOURCE for exp10(3) and exp10f(3)
[vala-gnome.git] / vapi / gstreamer-audio-1.0.vapi
blobadb9d580b587f5990ca6dd85382687605c8e2a35
1 /* gstreamer-audio-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstAudio", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace Audio {
6                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_aggregator_get_type ()")]
7                 [GIR (name = "AudioAggregator")]
8                 public abstract class Aggregator : Gst.Base.Aggregator {
9                         public weak Gst.Caps current_caps;
10                         public weak Gst.Audio.Info info;
11                         [CCode (has_construct_function = false)]
12                         protected Aggregator ();
13                         [NoWrapper]
14                         public virtual bool aggregate_one_buffer (Gst.Audio.AggregatorPad pad, Gst.Buffer inbuf, uint in_offset, Gst.Buffer outbuf, uint out_offset, uint num_frames);
15                         [NoWrapper]
16                         public virtual Gst.Buffer convert_buffer (Gst.Pad pad, Gst.Audio.Info in_info, Gst.Audio.Info out_info, Gst.Buffer buffer);
17                         [NoWrapper]
18                         public virtual Gst.Buffer create_output_buffer (uint num_frames);
19                         public void set_sink_caps (Gst.Audio.AggregatorPad pad, Gst.Caps caps);
20                         [NoAccessorMethod]
21                         public uint64 alignment_threshold { get; set; }
22                         [NoAccessorMethod]
23                         public uint64 discont_wait { get; set; }
24                         [NoAccessorMethod]
25                         public uint64 output_buffer_duration { get; set; }
26                 }
27                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_aggregator_convert_pad_get_type ()")]
28                 [GIR (name = "AudioAggregatorConvertPad")]
29                 public class AggregatorConvertPad : Gst.Audio.AggregatorPad {
30                         [CCode (has_construct_function = false)]
31                         protected AggregatorConvertPad ();
32                         [NoAccessorMethod]
33                         public Gst.Structure converter_config { owned get; set; }
34                 }
35                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_aggregator_pad_get_type ()")]
36                 [GIR (name = "AudioAggregatorPad")]
37                 public class AggregatorPad : Gst.Base.AggregatorPad {
38                         public weak Gst.Audio.Info info;
39                         [CCode (has_construct_function = false)]
40                         protected AggregatorPad ();
41                 }
42                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_base_sink_get_type ()")]
43                 [GIR (name = "AudioBaseSink")]
44                 public class BaseSink : Gst.Base.Sink {
45                         public bool eos_rendering;
46                         public uint64 next_sample;
47                         public Gst.Clock provided_clock;
48                         public weak Gst.Audio.RingBuffer ringbuffer;
49                         [CCode (has_construct_function = false)]
50                         protected BaseSink ();
51                         public virtual unowned Gst.Audio.RingBuffer create_ringbuffer ();
52                         public Gst.ClockTime get_alignment_threshold ();
53                         public Gst.ClockTime get_discont_wait ();
54                         public int64 get_drift_tolerance ();
55                         public bool get_provide_clock ();
56                         public Gst.Audio.BaseSinkSlaveMethod get_slave_method ();
57                         [NoWrapper]
58                         public virtual Gst.Buffer payload (Gst.Buffer buffer);
59                         [Version (since = "1.6")]
60                         public void report_device_failure ();
61                         public void set_alignment_threshold (Gst.ClockTime alignment_threshold);
62                         [Version (since = "1.6")]
63                         public void set_custom_slaving_callback (owned Gst.Audio.BaseSinkCustomSlavingCallback callback);
64                         public void set_discont_wait (Gst.ClockTime discont_wait);
65                         public void set_drift_tolerance (int64 drift_tolerance);
66                         public void set_provide_clock (bool provide);
67                         public void set_slave_method (Gst.Audio.BaseSinkSlaveMethod method);
68                         public uint64 alignment_threshold { get; set; }
69                         [NoAccessorMethod]
70                         public int64 buffer_time { get; set; }
71                         [NoAccessorMethod]
72                         public bool can_activate_pull { get; set; }
73                         public uint64 discont_wait { get; set; }
74                         public int64 drift_tolerance { get; set; }
75                         [NoAccessorMethod]
76                         public int64 latency_time { get; set; }
77                         public bool provide_clock { get; set; }
78                         public Gst.Audio.BaseSinkSlaveMethod slave_method { get; set; }
79                 }
80                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_base_src_get_type ()")]
81                 [GIR (name = "AudioBaseSrc")]
82                 public class BaseSrc : Gst.Base.PushSrc {
83                         public weak Gst.Clock clock;
84                         public uint64 next_sample;
85                         public weak Gst.Audio.RingBuffer ringbuffer;
86                         [CCode (has_construct_function = false)]
87                         protected BaseSrc ();
88                         public virtual unowned Gst.Audio.RingBuffer create_ringbuffer ();
89                         public bool get_provide_clock ();
90                         public Gst.Audio.BaseSrcSlaveMethod get_slave_method ();
91                         public void set_provide_clock (bool provide);
92                         public void set_slave_method (Gst.Audio.BaseSrcSlaveMethod method);
93                         [NoAccessorMethod]
94                         public int64 actual_buffer_time { get; }
95                         [NoAccessorMethod]
96                         public int64 actual_latency_time { get; }
97                         [NoAccessorMethod]
98                         public int64 buffer_time { get; set; }
99                         [NoAccessorMethod]
100                         public int64 latency_time { get; set; }
101                         public bool provide_clock { get; set; }
102                         public Gst.Audio.BaseSrcSlaveMethod slave_method { get; set; }
103                 }
104                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_cd_src_get_type ()")]
105                 [GIR (name = "AudioCdSrc")]
106                 public class CdSrc : Gst.Base.PushSrc, Gst.URIHandler {
107                         public weak Gst.TagList tags;
108                         [CCode (has_construct_function = false)]
109                         protected CdSrc ();
110                         public bool add_track (Gst.Audio.CdSrcTrack track);
111                         [NoWrapper]
112                         public virtual void close ();
113                         [NoWrapper]
114                         public virtual bool open (string device);
115                         [NoWrapper]
116                         public virtual Gst.Buffer read_sector (int sector);
117                         [NoAccessorMethod]
118                         public string device { owned get; set; }
119                         [NoAccessorMethod]
120                         public Gst.Audio.CdSrcMode mode { get; set; }
121                         [NoAccessorMethod]
122                         public uint track { get; set; }
123                 }
124                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
125                 [Compact]
126                 [GIR (name = "AudioChannelMixer")]
127                 public class ChannelMixer {
128                         public void free ();
129                         public bool is_passthrough ();
130                         public void samples (void* @in, void* @out, int samples);
131                 }
132                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_clock_get_type ()")]
133                 [GIR (name = "AudioClock")]
134                 public class Clock : Gst.SystemClock {
135                         [CCode (has_construct_function = false, type = "GstClock*")]
136                         public Clock (string name, owned Gst.Audio.ClockGetTimeFunc func);
137                         public Gst.ClockTime adjust (Gst.ClockTime time);
138                         public Gst.ClockTime get_time ();
139                         public void invalidate ();
140                         public void reset (Gst.ClockTime time);
141                 }
142                 [CCode (cheader_filename = "gst/audio/audio.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_audio_converter_get_type ()")]
143                 [Compact]
144                 [GIR (name = "AudioConverter")]
145                 public class Converter {
146                         [CCode (has_construct_function = false)]
147                         public Converter (Gst.Audio.ConverterFlags flags, Gst.Audio.Info in_info, Gst.Audio.Info out_info, owned Gst.Structure? config);
148                         [Version (since = "1.14")]
149                         public bool convert (Gst.Audio.ConverterFlags flags, [CCode (array_length_cname = "in_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] @in, [CCode (array_length_cname = "out_size", array_length_pos = 3.1, array_length_type = "gsize")] out uint8[] @out);
150                         public void free ();
151                         public unowned Gst.Structure get_config (int in_rate, int out_rate);
152                         public size_t get_in_frames (size_t out_frames);
153                         public size_t get_max_latency ();
154                         public size_t get_out_frames (size_t in_frames);
155                         public void reset ();
156                         public bool samples (Gst.Audio.ConverterFlags flags, void* @in, size_t in_frames, void* @out, size_t out_frames);
157                         public bool supports_inplace ();
158                         public bool update_config (int in_rate, int out_rate, owned Gst.Structure? config);
159                 }
160                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_decoder_get_type ()")]
161                 [GIR (name = "AudioDecoder")]
162                 public abstract class Decoder : Gst.Element {
163                         public weak Gst.Segment input_segment;
164                         public weak Gst.Segment output_segment;
165                         public weak Gst.Pad sinkpad;
166                         public weak Gst.Pad srcpad;
167                         public GLib.RecMutex stream_lock;
168                         [CCode (has_construct_function = false)]
169                         protected Decoder ();
170                         public Gst.Buffer allocate_output_buffer (size_t size);
171                         [NoWrapper]
172                         public virtual bool close ();
173                         [NoWrapper]
174                         public virtual bool decide_allocation (Gst.Query query);
175                         public Gst.FlowReturn finish_frame (Gst.Buffer buf, int frames);
176                         [NoWrapper]
177                         public virtual void flush (bool hard);
178                         public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
179                         public Gst.Audio.Info get_audio_info ();
180                         public int get_delay ();
181                         public bool get_drainable ();
182                         public int get_estimate_rate ();
183                         public void get_latency (out Gst.ClockTime min, out Gst.ClockTime max);
184                         public int get_max_errors ();
185                         public Gst.ClockTime get_min_latency ();
186                         public bool get_needs_format ();
187                         public void get_parse_state (bool sync, bool eos);
188                         public bool get_plc ();
189                         public int get_plc_aware ();
190                         public Gst.ClockTime get_tolerance ();
191                         [NoWrapper]
192                         public virtual Gst.Caps getcaps (Gst.Caps filter);
193                         [NoWrapper]
194                         public virtual Gst.FlowReturn handle_frame (Gst.Buffer buffer);
195                         public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
196                         public virtual bool negotiate ();
197                         [NoWrapper]
198                         public virtual bool open ();
199                         [NoWrapper]
200                         public virtual Gst.FlowReturn parse (Gst.Base.Adapter adapter, int offset, int length);
201                         [NoWrapper]
202                         public virtual Gst.FlowReturn pre_push (Gst.Buffer buffer);
203                         [NoWrapper]
204                         public virtual bool propose_allocation (Gst.Query query);
205                         [Version (since = "1.6")]
206                         public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
207                         [Version (since = "1.10")]
208                         public void set_allocation_caps (Gst.Caps? allocation_caps);
209                         public void set_drainable (bool enabled);
210                         public void set_estimate_rate (bool enabled);
211                         [NoWrapper]
212                         public virtual bool set_format (Gst.Caps caps);
213                         public void set_latency (Gst.ClockTime min, Gst.ClockTime max);
214                         public void set_max_errors (int num);
215                         public void set_min_latency (Gst.ClockTime num);
216                         public void set_needs_format (bool enabled);
217                         public bool set_output_format (Gst.Audio.Info info);
218                         public void set_plc (bool enabled);
219                         public void set_plc_aware (bool plc);
220                         public void set_tolerance (Gst.ClockTime tolerance);
221                         [Version (since = "1.6")]
222                         public void set_use_default_pad_acceptcaps (bool use);
223                         [NoWrapper]
224                         public virtual bool sink_event (Gst.Event event);
225                         [NoWrapper]
226                         public virtual bool sink_query (Gst.Query query);
227                         [NoWrapper]
228                         public virtual bool src_event (Gst.Event event);
229                         [NoWrapper]
230                         public virtual bool src_query (Gst.Query query);
231                         [NoWrapper]
232                         public virtual bool start ();
233                         [NoWrapper]
234                         public virtual bool stop ();
235                         [NoWrapper]
236                         public virtual bool transform_meta (Gst.Buffer outbuf, Gst.Meta meta, Gst.Buffer inbuf);
237                         public int64 min_latency { get; set; }
238                         public bool plc { get; set; }
239                         public int64 tolerance { get; set; }
240                 }
241                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_encoder_get_type ()")]
242                 [GIR (name = "AudioEncoder")]
243                 public abstract class Encoder : Gst.Element, Gst.Preset {
244                         public weak Gst.Segment input_segment;
245                         public weak Gst.Segment output_segment;
246                         public weak Gst.Pad sinkpad;
247                         public weak Gst.Pad srcpad;
248                         public GLib.RecMutex stream_lock;
249                         [CCode (has_construct_function = false)]
250                         protected Encoder ();
251                         public Gst.Buffer allocate_output_buffer (size_t size);
252                         [NoWrapper]
253                         public virtual bool close ();
254                         [NoWrapper]
255                         public virtual bool decide_allocation (Gst.Query query);
256                         public Gst.FlowReturn finish_frame (Gst.Buffer buffer, int samples);
257                         [NoWrapper]
258                         public virtual void flush ();
259                         public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
260                         public Gst.Audio.Info get_audio_info ();
261                         public bool get_drainable ();
262                         public int get_frame_max ();
263                         public int get_frame_samples_max ();
264                         public int get_frame_samples_min ();
265                         public bool get_hard_min ();
266                         public bool get_hard_resync ();
267                         public void get_latency (out Gst.ClockTime min, out Gst.ClockTime max);
268                         public int get_lookahead ();
269                         public bool get_mark_granule ();
270                         public bool get_perfect_timestamp ();
271                         public Gst.ClockTime get_tolerance ();
272                         [NoWrapper]
273                         public virtual Gst.Caps getcaps (Gst.Caps filter);
274                         [NoWrapper]
275                         public virtual Gst.FlowReturn handle_frame (Gst.Buffer buffer);
276                         public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
277                         public virtual bool negotiate ();
278                         [NoWrapper]
279                         public virtual bool open ();
280                         [NoWrapper]
281                         public virtual Gst.FlowReturn pre_push (Gst.Buffer buffer);
282                         [NoWrapper]
283                         public virtual bool propose_allocation (Gst.Query query);
284                         public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
285                         [Version (since = "1.10")]
286                         public void set_allocation_caps (Gst.Caps? allocation_caps);
287                         public void set_drainable (bool enabled);
288                         [NoWrapper]
289                         public virtual bool set_format (Gst.Audio.Info info);
290                         public void set_frame_max (int num);
291                         public void set_frame_samples_max (int num);
292                         public void set_frame_samples_min (int num);
293                         public void set_hard_min (bool enabled);
294                         public void set_hard_resync (bool enabled);
295                         public void set_headers (owned GLib.List<Gst.Buffer> headers);
296                         public void set_latency (Gst.ClockTime min, Gst.ClockTime max);
297                         public void set_lookahead (int num);
298                         public void set_mark_granule (bool enabled);
299                         public bool set_output_format (Gst.Caps caps);
300                         public void set_perfect_timestamp (bool enabled);
301                         public void set_tolerance (Gst.ClockTime tolerance);
302                         [NoWrapper]
303                         public virtual bool sink_event (Gst.Event event);
304                         [NoWrapper]
305                         public virtual bool sink_query (Gst.Query query);
306                         [NoWrapper]
307                         public virtual bool src_event (Gst.Event event);
308                         [NoWrapper]
309                         public virtual bool src_query (Gst.Query query);
310                         [NoWrapper]
311                         public virtual bool start ();
312                         [NoWrapper]
313                         public virtual bool stop ();
314                         [NoWrapper]
315                         public virtual bool transform_meta (Gst.Buffer outbuf, Gst.Meta meta, Gst.Buffer inbuf);
316                         public bool hard_resync { get; set; }
317                         public bool mark_granule { get; }
318                         public bool perfect_timestamp { get; set; }
319                         public int64 tolerance { get; set; }
320                 }
321                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_filter_get_type ()")]
322                 [GIR (name = "AudioFilter")]
323                 public abstract class Filter : Gst.Base.Transform {
324                         public weak Gst.Audio.Info info;
325                         [CCode (has_construct_function = false)]
326                         protected Filter ();
327                         [NoWrapper]
328                         public virtual bool setup (Gst.Audio.Info info);
329                 }
330                 [CCode (cheader_filename = "gst/audio/audio.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_audio_info_get_type ()")]
331                 [Compact]
332                 [GIR (name = "AudioInfo")]
333                 public class Info {
334                         public int bpf;
335                         public int channels;
336                         public Gst.Audio.FormatInfo finfo;
337                         public Gst.Audio.Flags flags;
338                         public Gst.Audio.Layout layout;
339                         [CCode (array_length = false)]
340                         public weak Gst.Audio.ChannelPosition position[64];
341                         public int rate;
342                         [CCode (has_construct_function = false)]
343                         public Info ();
344                         public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, int64 dest_val);
345                         public Gst.Audio.Info copy ();
346                         public void free ();
347                         public bool from_caps (Gst.Caps caps);
348                         public void init ();
349                         [Version (since = "1.2")]
350                         public bool is_equal (Gst.Audio.Info other);
351                         public void set_format (Gst.Audio.Format format, int rate, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition position[64]);
352                         public Gst.Caps to_caps ();
353                 }
354                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
355                 [Compact]
356                 [GIR (name = "AudioQuantize")]
357                 public class Quantize {
358                         public void free ();
359                         public void reset ();
360                         public void samples (void* @in, void* @out, uint samples);
361                 }
362                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
363                 [Compact]
364                 [GIR (name = "AudioResampler")]
365                 public class Resampler {
366                         [CCode (has_construct_function = false)]
367                         public Resampler (Gst.Audio.ResamplerMethod method, Gst.Audio.ResamplerFlags flags, Gst.Audio.Format format, int channels, int in_rate, int out_rate, Gst.Structure options);
368                         [Version (since = "1.6")]
369                         public void free ();
370                         public size_t get_in_frames (size_t out_frames);
371                         public size_t get_max_latency ();
372                         public size_t get_out_frames (size_t in_frames);
373                         public void resample (void* @in, size_t in_frames, void* @out, size_t out_frames);
374                         public void reset ();
375                         public bool update (int in_rate, int out_rate, Gst.Structure options);
376                 }
377                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_ring_buffer_get_type ()")]
378                 [GIR (name = "AudioRingBuffer")]
379                 public abstract class RingBuffer : Gst.Object {
380                         public bool acquired;
381                         public GLib.Cond cond;
382                         public uint8 empty_seg;
383                         public uint8 memory;
384                         public bool open;
385                         public int samples_per_seg;
386                         public int segbase;
387                         public int segdone;
388                         public size_t size;
389                         public Gst.Audio.RingBufferSpec spec;
390                         public int state;
391                         public Gst.ClockTime timestamps;
392                         public int waiting;
393                         [CCode (has_construct_function = false)]
394                         protected RingBuffer ();
395                         public virtual bool acquire (Gst.Audio.RingBufferSpec spec);
396                         public virtual bool activate (bool active);
397                         public void advance (uint advance);
398                         public void clear (int segment);
399                         public virtual void clear_all ();
400                         public virtual bool close_device ();
401                         public virtual uint commit (uint64 sample, uint8 data, int in_samples, int out_samples, int accum);
402                         public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, int64 dest_val);
403                         public static void debug_spec_buff (Gst.Audio.RingBufferSpec spec);
404                         public static void debug_spec_caps (Gst.Audio.RingBufferSpec spec);
405                         public virtual uint delay ();
406                         public bool device_is_open ();
407                         public bool is_acquired ();
408                         public bool is_active ();
409                         public bool is_flushing ();
410                         public void may_start (bool allowed);
411                         public virtual bool open_device ();
412                         public static bool parse_caps (Gst.Audio.RingBufferSpec spec, Gst.Caps caps);
413                         public virtual bool pause ();
414                         public bool prepare_read (int segment, uint8 readptr, int len);
415                         public uint read (uint64 sample, uint8 data, uint len, Gst.ClockTime timestamp);
416                         public virtual bool release ();
417                         [NoWrapper]
418                         public virtual bool resume ();
419                         public uint64 samples_done ();
420                         [Version (since = "1.12")]
421                         public void set_callback_full (owned Gst.Audio.RingBufferCallback? cb);
422                         public void set_channel_positions (Gst.Audio.ChannelPosition position);
423                         public void set_flushing (bool flushing);
424                         public void set_sample (uint64 sample);
425                         public void set_timestamp (int readseg, Gst.ClockTime timestamp);
426                         public virtual bool start ();
427                         public virtual bool stop ();
428                 }
429                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_sink_get_type ()")]
430                 [GIR (name = "AudioSink")]
431                 public class Sink : Gst.Audio.BaseSink {
432                         [CCode (has_construct_function = false)]
433                         protected Sink ();
434                         [NoWrapper]
435                         public virtual bool close ();
436                         [NoWrapper]
437                         public virtual uint delay ();
438                         [NoWrapper]
439                         public virtual bool open ();
440                         [NoWrapper]
441                         public virtual bool prepare (Gst.Audio.RingBufferSpec spec);
442                         [NoWrapper]
443                         public virtual void reset ();
444                         [NoWrapper]
445                         public virtual bool unprepare ();
446                         [NoWrapper]
447                         public virtual int write ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "guint", type = "gpointer")] uint8[] data);
448                 }
449                 [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_src_get_type ()")]
450                 [GIR (name = "AudioSrc")]
451                 public class Src : Gst.Audio.BaseSrc {
452                         [CCode (has_construct_function = false)]
453                         protected Src ();
454                         [NoWrapper]
455                         public virtual bool close ();
456                         [NoWrapper]
457                         public virtual uint delay ();
458                         [NoWrapper]
459                         public virtual bool open ();
460                         [NoWrapper]
461                         public virtual bool prepare (Gst.Audio.RingBufferSpec spec);
462                         [NoWrapper]
463                         public virtual uint read ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "guint", type = "gpointer")] uint8[] data, Gst.ClockTime timestamp);
464                         [NoWrapper]
465                         public virtual void reset ();
466                         [NoWrapper]
467                         public virtual bool unprepare ();
468                 }
469                 [CCode (cheader_filename = "gst/audio/audio.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_audio_stream_align_get_type ()")]
470                 [Compact]
471                 [GIR (name = "AudioStreamAlign")]
472                 public class StreamAlign {
473                         [CCode (has_construct_function = false)]
474                         [Version (since = "1.14")]
475                         public StreamAlign (int rate, Gst.ClockTime alignment_threshold, Gst.ClockTime discont_wait);
476                         [Version (since = "1.14")]
477                         public Gst.Audio.StreamAlign copy ();
478                         [Version (since = "1.14")]
479                         public void free ();
480                         public Gst.ClockTime get_alignment_threshold ();
481                         public Gst.ClockTime get_discont_wait ();
482                         public int get_rate ();
483                         [Version (since = "1.14")]
484                         public uint64 get_samples_since_discont ();
485                         [Version (since = "1.14")]
486                         public Gst.ClockTime get_timestamp_at_discont ();
487                         [Version (since = "1.14")]
488                         public void mark_discont ();
489                         [Version (since = "1.14")]
490                         public bool process (bool discont, Gst.ClockTime timestamp, uint n_samples, out Gst.ClockTime out_timestamp, out Gst.ClockTime out_duration, out uint64 out_sample_position);
491                         public void set_alignment_threshold (Gst.ClockTime alignment_threshold);
492                         public void set_discont_wait (Gst.ClockTime discont_wait);
493                         public void set_rate (int rate);
494                 }
495                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GstStreamVolume", lower_case_cprefix = "gst_stream_volume_", type_cname = "GstStreamVolumeInterface", type_id = "gst_stream_volume_get_type ()")]
496                 [GIR (name = "StreamVolume")]
497                 public interface StreamVolume : GLib.Object {
498                         public static double convert_volume (Gst.Audio.StreamVolumeFormat from, Gst.Audio.StreamVolumeFormat to, double val);
499                         public bool get_mute ();
500                         public double get_volume (Gst.Audio.StreamVolumeFormat format);
501                         public void set_mute (bool mute);
502                         public void set_volume (Gst.Audio.StreamVolumeFormat format, double val);
503                         [ConcreteAccessor]
504                         public abstract bool mute { get; set; }
505                         [NoAccessorMethod]
506                         public abstract double volume { get; set; }
507                 }
508                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
509                 [GIR (name = "AudioCdSrcTrack")]
510                 public struct CdSrcTrack {
511                         public bool is_audio;
512                         public uint num;
513                         public uint start;
514                         public uint end;
515                         public weak Gst.TagList tags;
516                 }
517                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
518                 [GIR (name = "AudioClippingMeta")]
519                 [Version (since = "1.8")]
520                 public struct ClippingMeta {
521                         public Gst.Meta meta;
522                         public Gst.Format format;
523                         public uint64 start;
524                         public uint64 end;
525                 }
526                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
527                 [GIR (name = "AudioDownmixMeta")]
528                 public struct DownmixMeta {
529                         public Gst.Meta meta;
530                         public Gst.Audio.ChannelPosition from_position;
531                         public Gst.Audio.ChannelPosition to_position;
532                         public int from_channels;
533                         public int to_channels;
534                         public float matrix;
535                 }
536                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
537                 [GIR (name = "AudioFormatInfo")]
538                 public struct FormatInfo {
539                         public Gst.Audio.Format format;
540                         public weak string name;
541                         public weak string description;
542                         public Gst.Audio.FormatFlags flags;
543                         public int endianness;
544                         public int width;
545                         public int depth;
546                         [CCode (array_length = false)]
547                         public weak uint8 silence[8];
548                         public Gst.Audio.Format unpack_format;
549                         public weak Gst.Audio.FormatUnpack unpack_func;
550                         public weak Gst.Audio.FormatPack pack_func;
551                 }
552                 [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
553                 [GIR (name = "AudioRingBufferSpec")]
554                 public struct RingBufferSpec {
555                         public weak Gst.Caps caps;
556                         public Gst.Audio.RingBufferFormatType type;
557                         public weak Gst.Audio.Info info;
558                         public uint64 latency_time;
559                         public uint64 buffer_time;
560                         public int segsize;
561                         public int segtotal;
562                         public int seglatency;
563                 }
564                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_BASE_SINK_DISCONT_REASON_", type_id = "gst_audio_base_sink_discont_reason_get_type ()")]
565                 [GIR (name = "AudioBaseSinkDiscontReason")]
566                 [Version (since = "1.6")]
567                 public enum BaseSinkDiscontReason {
568                         NO_DISCONT,
569                         NEW_CAPS,
570                         FLUSH,
571                         SYNC_LATENCY,
572                         ALIGNMENT,
573                         DEVICE_FAILURE
574                 }
575                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_BASE_SINK_SLAVE_", type_id = "gst_audio_base_sink_slave_method_get_type ()")]
576                 [GIR (name = "AudioBaseSinkSlaveMethod")]
577                 public enum BaseSinkSlaveMethod {
578                         RESAMPLE,
579                         SKEW,
580                         NONE,
581                         CUSTOM
582                 }
583                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_BASE_SRC_SLAVE_", type_id = "gst_audio_base_src_slave_method_get_type ()")]
584                 [GIR (name = "AudioBaseSrcSlaveMethod")]
585                 public enum BaseSrcSlaveMethod {
586                         RESAMPLE,
587                         RE_TIMESTAMP,
588                         SKEW,
589                         NONE
590                 }
591                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_CD_SRC_MODE_", type_id = "gst_audio_cd_src_mode_get_type ()")]
592                 [GIR (name = "AudioCdSrcMode")]
593                 public enum CdSrcMode {
594                         NORMAL,
595                         CONTINUOUS
596                 }
597                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_CHANNEL_MIXER_FLAGS_", type_id = "gst_audio_channel_mixer_flags_get_type ()")]
598                 [Flags]
599                 [GIR (name = "AudioChannelMixerFlags")]
600                 public enum ChannelMixerFlags {
601                         NONE,
602                         NON_INTERLEAVED_IN,
603                         NON_INTERLEAVED_OUT,
604                         UNPOSITIONED_IN,
605                         UNPOSITIONED_OUT
606                 }
607                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_CHANNEL_POSITION_", type_id = "gst_audio_channel_position_get_type ()")]
608                 [GIR (name = "AudioChannelPosition")]
609                 public enum ChannelPosition {
610                         NONE,
611                         MONO,
612                         INVALID,
613                         FRONT_LEFT,
614                         FRONT_RIGHT,
615                         FRONT_CENTER,
616                         LFE1,
617                         REAR_LEFT,
618                         REAR_RIGHT,
619                         FRONT_LEFT_OF_CENTER,
620                         FRONT_RIGHT_OF_CENTER,
621                         REAR_CENTER,
622                         LFE2,
623                         SIDE_LEFT,
624                         SIDE_RIGHT,
625                         TOP_FRONT_LEFT,
626                         TOP_FRONT_RIGHT,
627                         TOP_FRONT_CENTER,
628                         TOP_CENTER,
629                         TOP_REAR_LEFT,
630                         TOP_REAR_RIGHT,
631                         TOP_SIDE_LEFT,
632                         TOP_SIDE_RIGHT,
633                         TOP_REAR_CENTER,
634                         BOTTOM_FRONT_CENTER,
635                         BOTTOM_FRONT_LEFT,
636                         BOTTOM_FRONT_RIGHT,
637                         WIDE_LEFT,
638                         WIDE_RIGHT,
639                         SURROUND_LEFT,
640                         SURROUND_RIGHT
641                 }
642                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_CONVERTER_FLAG_", type_id = "gst_audio_converter_flags_get_type ()")]
643                 [Flags]
644                 [GIR (name = "AudioConverterFlags")]
645                 public enum ConverterFlags {
646                         NONE,
647                         IN_WRITABLE,
648                         VARIABLE_RATE
649                 }
650                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_DITHER_", type_id = "gst_audio_dither_method_get_type ()")]
651                 [GIR (name = "AudioDitherMethod")]
652                 public enum DitherMethod {
653                         NONE,
654                         RPDF,
655                         TPDF,
656                         TPDF_HF
657                 }
658                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_FLAG_", type_id = "gst_audio_flags_get_type ()")]
659                 [Flags]
660                 [GIR (name = "AudioFlags")]
661                 public enum Flags {
662                         NONE,
663                         UNPOSITIONED
664                 }
665                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_FORMAT_", type_id = "gst_audio_format_get_type ()")]
666                 [GIR (name = "AudioFormat")]
667                 public enum Format {
668                         UNKNOWN,
669                         ENCODED,
670                         S8,
671                         U8,
672                         S16LE,
673                         S16BE,
674                         U16LE,
675                         U16BE,
676                         S24_32LE,
677                         S24_32BE,
678                         U24_32LE,
679                         U24_32BE,
680                         S32LE,
681                         S32BE,
682                         U32LE,
683                         U32BE,
684                         S24LE,
685                         S24BE,
686                         U24LE,
687                         U24BE,
688                         S20LE,
689                         S20BE,
690                         U20LE,
691                         U20BE,
692                         S18LE,
693                         S18BE,
694                         U18LE,
695                         U18BE,
696                         F32LE,
697                         F32BE,
698                         F64LE,
699                         F64BE,
700                         S16,
701                         U16,
702                         S24_32,
703                         U24_32,
704                         S32,
705                         U32,
706                         S24,
707                         U24,
708                         S20,
709                         U20,
710                         S18,
711                         U18,
712                         F32,
713                         F64
714                 }
715                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_FORMAT_FLAG_", type_id = "gst_audio_format_flags_get_type ()")]
716                 [Flags]
717                 [GIR (name = "AudioFormatFlags")]
718                 public enum FormatFlags {
719                         INTEGER,
720                         FLOAT,
721                         SIGNED,
722                         COMPLEX,
723                         UNPACK
724                 }
725                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_LAYOUT_", type_id = "gst_audio_layout_get_type ()")]
726                 [GIR (name = "AudioLayout")]
727                 public enum Layout {
728                         INTERLEAVED,
729                         NON_INTERLEAVED
730                 }
731                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_NOISE_SHAPING_", type_id = "gst_audio_noise_shaping_method_get_type ()")]
732                 [GIR (name = "AudioNoiseShapingMethod")]
733                 public enum NoiseShapingMethod {
734                         NONE,
735                         ERROR_FEEDBACK,
736                         SIMPLE,
737                         MEDIUM,
738                         HIGH
739                 }
740                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_PACK_FLAG_", type_id = "gst_audio_pack_flags_get_type ()")]
741                 [Flags]
742                 [GIR (name = "AudioPackFlags")]
743                 public enum PackFlags {
744                         NONE,
745                         TRUNCATE_RANGE
746                 }
747                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_QUANTIZE_FLAG_", type_id = "gst_audio_quantize_flags_get_type ()")]
748                 [Flags]
749                 [GIR (name = "AudioQuantizeFlags")]
750                 public enum QuantizeFlags {
751                         NONE,
752                         NON_INTERLEAVED
753                 }
754                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_", type_id = "gst_audio_resampler_filter_interpolation_get_type ()")]
755                 [GIR (name = "AudioResamplerFilterInterpolation")]
756                 public enum ResamplerFilterInterpolation {
757                         NONE,
758                         LINEAR,
759                         CUBIC
760                 }
761                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_RESAMPLER_FILTER_MODE_", type_id = "gst_audio_resampler_filter_mode_get_type ()")]
762                 [GIR (name = "AudioResamplerFilterMode")]
763                 public enum ResamplerFilterMode {
764                         INTERPOLATED,
765                         FULL,
766                         AUTO
767                 }
768                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_RESAMPLER_FLAG_", type_id = "gst_audio_resampler_flags_get_type ()")]
769                 [Flags]
770                 [GIR (name = "AudioResamplerFlags")]
771                 public enum ResamplerFlags {
772                         NONE,
773                         NON_INTERLEAVED_IN,
774                         NON_INTERLEAVED_OUT,
775                         VARIABLE_RATE
776                 }
777                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_RESAMPLER_METHOD_", type_id = "gst_audio_resampler_method_get_type ()")]
778                 [GIR (name = "AudioResamplerMethod")]
779                 [Version (since = "1.6")]
780                 public enum ResamplerMethod {
781                         NEAREST,
782                         LINEAR,
783                         CUBIC,
784                         BLACKMAN_NUTTALL,
785                         KAISER
786                 }
787                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_", type_id = "gst_audio_ring_buffer_format_type_get_type ()")]
788                 [GIR (name = "AudioRingBufferFormatType")]
789                 public enum RingBufferFormatType {
790                         RAW,
791                         MU_LAW,
792                         A_LAW,
793                         IMA_ADPCM,
794                         MPEG,
795                         GSM,
796                         IEC958,
797                         AC3,
798                         EAC3,
799                         DTS,
800                         MPEG2_AAC,
801                         MPEG4_AAC,
802                         MPEG2_AAC_RAW,
803                         MPEG4_AAC_RAW,
804                         FLAC
805                 }
806                 [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_RING_BUFFER_STATE_", type_id = "gst_audio_ring_buffer_state_get_type ()")]
807                 [GIR (name = "AudioRingBufferState")]
808                 public enum RingBufferState {
809                         STOPPED,
810                         PAUSED,
811                         STARTED,
812                         ERROR
813                 }
814                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GstStreamVolumeFormat", cprefix = "GST_STREAM_VOLUME_FORMAT_", has_type_id = false)]
815                 [GIR (name = "StreamVolumeFormat")]
816                 public enum StreamVolumeFormat {
817                         LINEAR,
818                         CUBIC,
819                         DB
820                 }
821                 [CCode (cheader_filename = "gst/audio/audio.h", instance_pos = 5.9)]
822                 [Version (since = "1.6")]
823                 public delegate void BaseSinkCustomSlavingCallback (Gst.Audio.BaseSink sink, Gst.ClockTime etime, Gst.ClockTime itime, Gst.ClockTimeDiff requested_skew, Gst.Audio.BaseSinkDiscontReason discont_reason);
824                 [CCode (cheader_filename = "gst/audio/audio.h", instance_pos = 1.9)]
825                 public delegate Gst.ClockTime ClockGetTimeFunc (Gst.Clock clock);
826                 [CCode (cheader_filename = "gst/audio/audio.h", has_target = false)]
827                 public delegate void FormatPack (Gst.Audio.FormatInfo info, Gst.Audio.PackFlags flags, [CCode (array_length = false)] uint8[] src, [CCode (array_length = false)] uint8[] data, int length);
828                 [CCode (cheader_filename = "gst/audio/audio.h", has_target = false)]
829                 public delegate void FormatUnpack (Gst.Audio.FormatInfo info, Gst.Audio.PackFlags flags, [CCode (array_length = false)] uint8[] dest, [CCode (array_length = false)] uint8[] data, int length);
830                 [CCode (cheader_filename = "gst/audio/audio.h", instance_pos = 2.9)]
831                 public delegate void RingBufferCallback (Gst.Audio.RingBuffer rbuf, [CCode (array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[] data);
832                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CHANNELS_RANGE")]
833                 public const string CHANNELS_RANGE;
834                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_DITHER_METHOD")]
835                 public const string CONVERTER_OPT_DITHER_METHOD;
836                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_MIX_MATRIX")]
837                 public const string CONVERTER_OPT_MIX_MATRIX;
838                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD")]
839                 public const string CONVERTER_OPT_NOISE_SHAPING_METHOD;
840                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_QUANTIZATION")]
841                 public const string CONVERTER_OPT_QUANTIZATION;
842                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_RESAMPLER_METHOD")]
843                 public const string CONVERTER_OPT_RESAMPLER_METHOD;
844                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DECODER_MAX_ERRORS")]
845                 public const int DECODER_MAX_ERRORS;
846                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DECODER_SINK_NAME")]
847                 public const string DECODER_SINK_NAME;
848                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DECODER_SRC_NAME")]
849                 public const string DECODER_SRC_NAME;
850                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DEF_CHANNELS")]
851                 public const int DEF_CHANNELS;
852                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DEF_FORMAT")]
853                 public const string DEF_FORMAT;
854                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DEF_RATE")]
855                 public const int DEF_RATE;
856                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_ENCODER_SINK_NAME")]
857                 public const string ENCODER_SINK_NAME;
858                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_ENCODER_SRC_NAME")]
859                 public const string ENCODER_SRC_NAME;
860                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_FORMATS_ALL")]
861                 public const string FORMATS_ALL;
862                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_CHANNELS_STR")]
863                 [Version (since = "1.2")]
864                 public const string META_TAG_AUDIO_CHANNELS_STR;
865                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_RATE_STR")]
866                 [Version (since = "1.8")]
867                 public const string META_TAG_AUDIO_RATE_STR;
868                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_STR")]
869                 [Version (since = "1.2")]
870                 public const string META_TAG_AUDIO_STR;
871                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RATE_RANGE")]
872                 public const string RATE_RANGE;
873                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_CUBIC_B")]
874                 public const string RESAMPLER_OPT_CUBIC_B;
875                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_CUBIC_C")]
876                 public const string RESAMPLER_OPT_CUBIC_C;
877                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_CUTOFF")]
878                 public const string RESAMPLER_OPT_CUTOFF;
879                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_FILTER_INTERPOLATION")]
880                 public const string RESAMPLER_OPT_FILTER_INTERPOLATION;
881                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_FILTER_MODE")]
882                 public const string RESAMPLER_OPT_FILTER_MODE;
883                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_FILTER_MODE_THRESHOLD")]
884                 public const string RESAMPLER_OPT_FILTER_MODE_THRESHOLD;
885                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_FILTER_OVERSAMPLE")]
886                 public const string RESAMPLER_OPT_FILTER_OVERSAMPLE;
887                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_MAX_PHASE_ERROR")]
888                 public const string RESAMPLER_OPT_MAX_PHASE_ERROR;
889                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_N_TAPS")]
890                 public const string RESAMPLER_OPT_N_TAPS;
891                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_STOP_ATTENUATION")]
892                 public const string RESAMPLER_OPT_STOP_ATTENUATION;
893                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_OPT_TRANSITION_BANDWIDTH")]
894                 public const string RESAMPLER_OPT_TRANSITION_BANDWIDTH;
895                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_QUALITY_DEFAULT")]
896                 public const int RESAMPLER_QUALITY_DEFAULT;
897                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_QUALITY_MAX")]
898                 public const int RESAMPLER_QUALITY_MAX;
899                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_RESAMPLER_QUALITY_MIN")]
900                 public const int RESAMPLER_QUALITY_MIN;
901                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_clip")]
902                 public static Gst.Buffer audio_buffer_clip (owned Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf);
903                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_reorder_channels")]
904                 public static bool audio_buffer_reorder_channels (Gst.Buffer buffer, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
905                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_get_fallback_mask")]
906                 [Version (since = "1.8")]
907                 public static uint64 audio_channel_get_fallback_mask (int channels);
908                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_positions_from_mask")]
909                 public static bool audio_channel_positions_from_mask (uint64 channel_mask, [CCode (array_length_cname = "channels", array_length_pos = 0.5)] Gst.Audio.ChannelPosition[] position);
910                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_positions_to_mask")]
911                 public static bool audio_channel_positions_to_mask ([CCode (array_length_cname = "channels", array_length_pos = 1.5)] Gst.Audio.ChannelPosition[] position, bool force_order, out uint64 channel_mask);
912                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_positions_to_string")]
913                 public static string audio_channel_positions_to_string ([CCode (array_length_cname = "channels", array_length_pos = 1.1)] Gst.Audio.ChannelPosition[] position);
914                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_positions_to_valid_order")]
915                 public static bool audio_channel_positions_to_valid_order ([CCode (array_length_cname = "channels", array_length_pos = 1.1)] Gst.Audio.ChannelPosition[] position);
916                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_check_valid_channel_positions")]
917                 public static bool audio_check_valid_channel_positions ([CCode (array_length_cname = "channels", array_length_pos = 1.5)] Gst.Audio.ChannelPosition[] position, bool force_order);
918                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_clipping_meta_api_get_type")]
919                 public static GLib.Type audio_clipping_meta_api_get_type ();
920                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_clipping_meta_get_info")]
921                 public static unowned Gst.MetaInfo? audio_clipping_meta_get_info ();
922                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_downmix_meta_api_get_type")]
923                 public static GLib.Type audio_downmix_meta_api_get_type ();
924                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_downmix_meta_get_info")]
925                 public static unowned Gst.MetaInfo? audio_downmix_meta_get_info ();
926                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_build_integer")]
927                 public static Gst.Audio.Format audio_format_build_integer (bool sign, int endianness, int width, int depth);
928                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_fill_silence")]
929                 public static void audio_format_fill_silence (Gst.Audio.FormatInfo info, [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] dest);
930                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_from_string")]
931                 public static Gst.Audio.Format audio_format_from_string (string format);
932                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_get_info")]
933                 public static unowned Gst.Audio.FormatInfo? audio_format_get_info (Gst.Audio.Format format);
934                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_info_get_type")]
935                 public static GLib.Type audio_format_info_get_type ();
936                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_to_string")]
937                 public static unowned string audio_format_to_string (Gst.Audio.Format format);
938                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_get_channel_reorder_map")]
939                 public static bool audio_get_channel_reorder_map (int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to, [CCode (array_length = false)] int[] reorder_map);
940                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_iec61937_frame_size")]
941                 public static uint audio_iec61937_frame_size (Gst.Audio.RingBufferSpec spec);
942                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_iec61937_payload")]
943                 public static bool audio_iec61937_payload ([CCode (array_length_cname = "src_n", array_length_pos = 1.5, array_length_type = "guint")] uint8[] src, [CCode (array_length_cname = "dst_n", array_length_pos = 2.5, array_length_type = "guint")] uint8[] dst, Gst.Audio.RingBufferSpec spec, int endianness);
944                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_reorder_channels")]
945                 public static bool audio_reorder_channels ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
946                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_resampler_options_set_quality")]
947                 public static void audio_resampler_options_set_quality (Gst.Audio.ResamplerMethod method, uint quality, int in_rate, int out_rate, Gst.Structure options);
948                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_clipping_meta")]
949                 [Version (since = "1.8")]
950                 public static unowned Gst.Audio.ClippingMeta? buffer_add_audio_clipping_meta (Gst.Buffer buffer, Gst.Format format, uint64 start, uint64 end);
951                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_downmix_meta")]
952                 public static unowned Gst.Audio.DownmixMeta? buffer_add_audio_downmix_meta (Gst.Buffer buffer, [CCode (array_length_cname = "from_channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from_position, [CCode (array_length_cname = "to_channels", array_length_pos = 3.5)] Gst.Audio.ChannelPosition[] to_position, float matrix);
953                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_get_audio_downmix_meta_for_channels")]
954                 public static unowned Gst.Audio.DownmixMeta? buffer_get_audio_downmix_meta_for_channels (Gst.Buffer buffer, [CCode (array_length_cname = "to_channels", array_length_pos = 2.1)] Gst.Audio.ChannelPosition[] to_position);
955                 [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_stream_volume_convert_volume")]
956                 public static double stream_volume_convert_volume (Gst.Audio.StreamVolumeFormat from, Gst.Audio.StreamVolumeFormat to, double val);
957         }