diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-05-01 12:44:09 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-05-01 12:44:09 +0200 |
commit | b0c1554ca36a9b6b0e3b221f39ccac8edf96e41f (patch) | |
tree | b910dd30c878497ec62ed5a07fe830870001715c /vapi/gstreamer-audio-1.0.vapi | |
parent | 17e879d6c824095d63f9f51dd2eb86d5aedc9261 (diff) | |
download | vala-b0c1554ca36a9b6b0e3b221f39ccac8edf96e41f.tar.gz |
gstreamer: Update from 1.15+ git master
Diffstat (limited to 'vapi/gstreamer-audio-1.0.vapi')
-rw-r--r-- | vapi/gstreamer-audio-1.0.vapi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi index 53be907d0..cfa3c1071 100644 --- a/vapi/gstreamer-audio-1.0.vapi +++ b/vapi/gstreamer-audio-1.0.vapi @@ -149,7 +149,7 @@ namespace Gst { [Version (since = "1.14")] 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); public void free (); - public unowned Gst.Structure get_config (int in_rate, int out_rate); + public unowned Gst.Structure get_config (out int in_rate, out int out_rate); public size_t get_in_frames (size_t out_frames); public size_t get_max_latency (); public size_t get_out_frames (size_t in_frames); @@ -185,7 +185,7 @@ namespace Gst { public int get_max_errors (); public Gst.ClockTime get_min_latency (); public bool get_needs_format (); - public void get_parse_state (bool sync, bool eos); + public void get_parse_state (out bool sync, out bool eos); public bool get_plc (); public int get_plc_aware (); public Gst.ClockTime get_tolerance (); @@ -342,7 +342,7 @@ namespace Gst { public int rate; [CCode (has_construct_function = false)] public Info (); - public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, int64 dest_val); + public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, out int64 dest_val); public Gst.Audio.Info copy (); public void free (); public bool from_caps (Gst.Caps caps); @@ -398,8 +398,8 @@ namespace Gst { public void clear (int segment); public virtual void clear_all (); public virtual bool close_device (); - public virtual uint commit (uint64 sample, uint8 data, int in_samples, int out_samples, int accum); - public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, int64 dest_val); + public virtual uint commit (uint64 sample, [CCode (array_length_cname = "in_samples", array_length_pos = 2.5)] uint8[] data, int out_samples, ref int accum); + public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, out int64 dest_val); public static void debug_spec_buff (Gst.Audio.RingBufferSpec spec); public static void debug_spec_caps (Gst.Audio.RingBufferSpec spec); public virtual uint delay (); @@ -411,15 +411,15 @@ namespace Gst { public virtual bool open_device (); public static bool parse_caps (Gst.Audio.RingBufferSpec spec, Gst.Caps caps); public virtual bool pause (); - public bool prepare_read (int segment, uint8 readptr, int len); - public uint read (uint64 sample, uint8 data, uint len, Gst.ClockTime timestamp); + public bool prepare_read (out int segment, [CCode (array_length_cname = "len", array_length_pos = 2.1)] out uint8[] readptr); + public uint read (uint64 sample, [CCode (array_length_cname = "len", array_length_pos = 2.5, array_length_type = "guint")] uint8[] data, out Gst.ClockTime timestamp); public virtual bool release (); [NoWrapper] public virtual bool resume (); public uint64 samples_done (); [Version (since = "1.12")] public void set_callback_full (owned Gst.Audio.RingBufferCallback? cb); - public void set_channel_positions (Gst.Audio.ChannelPosition position); + public void set_channel_positions ([CCode (array_length = false)] Gst.Audio.ChannelPosition[] position); public void set_flushing (bool flushing); public void set_sample (uint64 sample); public void set_timestamp (int readseg, Gst.ClockTime timestamp); |