summaryrefslogtreecommitdiff
path: root/sources/generated/Gst.Audio/AudioDecoder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/generated/Gst.Audio/AudioDecoder.cs')
-rw-r--r--sources/generated/Gst.Audio/AudioDecoder.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/generated/Gst.Audio/AudioDecoder.cs b/sources/generated/Gst.Audio/AudioDecoder.cs
index d6a328d..d05da73 100644
--- a/sources/generated/Gst.Audio/AudioDecoder.cs
+++ b/sources/generated/Gst.Audio/AudioDecoder.cs
@@ -1350,20 +1350,30 @@ namespace Gst.Audio {
static extern int gst_audio_decoder_finish_frame(IntPtr raw, IntPtr buf, int frames);
public Gst.FlowReturn FinishFrame(Gst.Buffer buf, int frames) {
+ buf.Owned = false;
int raw_ret = gst_audio_decoder_finish_frame(Handle, buf == null ? IntPtr.Zero : buf.Handle, frames);
Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
return ret;
}
+ public Gst.FlowReturn FinishFrame(int frames) {
+ return FinishFrame (null, frames);
+ }
+
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_audio_decoder_finish_subframe(IntPtr raw, IntPtr buf);
public Gst.FlowReturn FinishSubframe(Gst.Buffer buf) {
+ buf.Owned = false;
int raw_ret = gst_audio_decoder_finish_subframe(Handle, buf == null ? IntPtr.Zero : buf.Handle);
Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
return ret;
}
+ public Gst.FlowReturn FinishSubframe() {
+ return FinishSubframe (null);
+ }
+
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_decoder_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms);