1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
7 using System.Collections;
8 using System.Collections.Generic;
9 using System.Runtime.InteropServices;
11 #region Autogenerated code
12 [StructLayout(LayoutKind.Sequential)]
13 public partial struct AudioClippingMeta : IEquatable<AudioClippingMeta> {
16 public Gst.Format Format;
20 public static Gst.Audio.AudioClippingMeta Zero = new Gst.Audio.AudioClippingMeta ();
22 public static Gst.Audio.AudioClippingMeta New(IntPtr raw) {
23 if (raw == IntPtr.Zero)
24 return Gst.Audio.AudioClippingMeta.Zero;
25 return (Gst.Audio.AudioClippingMeta) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioClippingMeta));
28 [DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
29 static extern IntPtr gst_audio_clipping_meta_get_info();
31 public static Gst.MetaInfo Info {
33 IntPtr raw_ret = gst_audio_clipping_meta_get_info();
34 Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret);
39 public bool Equals (AudioClippingMeta other)
41 return true && Meta.Equals (other.Meta) && Format.Equals (other.Format) && Start.Equals (other.Start) && End.Equals (other.End);
44 public override bool Equals (object other)
46 return other is AudioClippingMeta && Equals ((AudioClippingMeta) other);
49 public override int GetHashCode ()
51 return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ Format.GetHashCode () ^ Start.GetHashCode () ^ End.GetHashCode ();
54 private static GLib.GType GType {
55 get { return GLib.GType.Pointer; }