summaryrefslogtreecommitdiff
path: root/sources/generated/Gst.Audio/AudioConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/generated/Gst.Audio/AudioConverter.cs')
-rw-r--r--sources/generated/Gst.Audio/AudioConverter.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/sources/generated/Gst.Audio/AudioConverter.cs b/sources/generated/Gst.Audio/AudioConverter.cs
index 1732cfd..eb1b075 100644
--- a/sources/generated/Gst.Audio/AudioConverter.cs
+++ b/sources/generated/Gst.Audio/AudioConverter.cs
@@ -97,6 +97,21 @@ namespace Gst.Audio {
}
[DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern bool gst_audio_converter_is_passthrough(IntPtr raw);
+
+ public bool IsPassthrough {
+ get {
+ IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this));
+ System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false);
+ bool raw_ret = gst_audio_converter_is_passthrough(this_as_native);
+ bool ret = raw_ret;
+ ReadNative (this_as_native, ref this);
+ System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
+ return ret;
+ }
+ }
+
+ [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_audio_converter_reset(IntPtr raw);
public void Reset() {