gstreamer/subprojects/gstreamer-sharp/sources/generated/Gst.Audio/AudioLevelMeta.cs
Andoni Morales Alastruey 4be602a137 csharp: update c# bindings
Update to C# bindings to use a more recent version of GtkSharp
and regenerate the bindings with that version

Fix #1718
2023-12-07 17:34:34 +01:00

58 lines
1.6 KiB
C#

// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst.Audio {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
[StructLayout(LayoutKind.Sequential)]
public partial struct AudioLevelMeta : IEquatable<AudioLevelMeta> {
public Gst.Meta Meta;
public byte Level;
public bool VoiceActivity;
public static Gst.Audio.AudioLevelMeta Zero = new Gst.Audio.AudioLevelMeta ();
public static Gst.Audio.AudioLevelMeta New(IntPtr raw) {
if (raw == IntPtr.Zero)
return Gst.Audio.AudioLevelMeta.Zero;
return (Gst.Audio.AudioLevelMeta) Marshal.PtrToStructure (raw, typeof (Gst.Audio.AudioLevelMeta));
}
[DllImport("gstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_audio_level_meta_get_info();
public static Gst.MetaInfo Info {
get {
IntPtr raw_ret = gst_audio_level_meta_get_info();
Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret);
return ret;
}
}
public bool Equals (AudioLevelMeta other)
{
return true && Meta.Equals (other.Meta) && Level.Equals (other.Level) && VoiceActivity.Equals (other.VoiceActivity);
}
public override bool Equals (object other)
{
return other is AudioLevelMeta && Equals ((AudioLevelMeta) other);
}
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ Level.GetHashCode () ^ VoiceActivity.GetHashCode ();
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}