gstreamer/subprojects/gstreamer-sharp/sources/generated/Gst.Audio/AudioLevelMeta.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

59 lines
1.6 KiB
C#
Raw Normal View History

// 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
}
}