Class FMOD_DSP_LOUDNESS_METER_INFO_TYPE

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<FMOD_DSP_LOUDNESS_METER_INFO_TYPE>
org.lwjgl.fmod.FMOD_DSP_LOUDNESS_METER_INFO_TYPE
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class FMOD_DSP_LOUDNESS_METER_INFO_TYPE extends org.lwjgl.system.Struct<FMOD_DSP_LOUDNESS_METER_INFO_TYPE> implements org.lwjgl.system.NativeResource

Layout


 struct FMOD_DSP_LOUDNESS_METER_INFO_TYPE {
     float momentaryloudness;
     float shorttermloudness;
     float integratedloudness;
     float loudness10thpercentile;
     float loudness95thpercentile;
     float loudnesshistogram[66];
     float maxtruepeak;
     float maxmomentaryloudness;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • MOMENTARYLOUDNESS

      public static final int MOMENTARYLOUDNESS
      The struct member offsets.
    • SHORTTERMLOUDNESS

      public static final int SHORTTERMLOUDNESS
      The struct member offsets.
    • INTEGRATEDLOUDNESS

      public static final int INTEGRATEDLOUDNESS
      The struct member offsets.
    • LOUDNESS10THPERCENTILE

      public static final int LOUDNESS10THPERCENTILE
      The struct member offsets.
    • LOUDNESS95THPERCENTILE

      public static final int LOUDNESS95THPERCENTILE
      The struct member offsets.
    • LOUDNESSHISTOGRAM

      public static final int LOUDNESSHISTOGRAM
      The struct member offsets.
    • MAXTRUEPEAK

      public static final int MAXTRUEPEAK
      The struct member offsets.
    • MAXMOMENTARYLOUDNESS

      public static final int MAXMOMENTARYLOUDNESS
      The struct member offsets.
  • Constructor Details

    • FMOD_DSP_LOUDNESS_METER_INFO_TYPE

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE(ByteBuffer container)
      Creates a FMOD_DSP_LOUDNESS_METER_INFO_TYPE instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<FMOD_DSP_LOUDNESS_METER_INFO_TYPE>
    • momentaryloudness

      public float momentaryloudness()
      Returns:
      the value of the momentaryloudness field.
    • shorttermloudness

      public float shorttermloudness()
      Returns:
      the value of the shorttermloudness field.
    • integratedloudness

      public float integratedloudness()
      Returns:
      the value of the integratedloudness field.
    • loudness10thpercentile

      public float loudness10thpercentile()
      Returns:
      the value of the loudness10thpercentile field.
    • loudness95thpercentile

      public float loudness95thpercentile()
      Returns:
      the value of the loudness95thpercentile field.
    • loudnesshistogram

      public FloatBuffer loudnesshistogram()
      Returns:
      a FloatBuffer view of the loudnesshistogram field.
    • loudnesshistogram

      public float loudnesshistogram(int index)
      Returns:
      the value at the specified index of the loudnesshistogram field.
    • maxtruepeak

      public float maxtruepeak()
      Returns:
      the value of the maxtruepeak field.
    • maxmomentaryloudness

      public float maxmomentaryloudness()
      Returns:
      the value of the maxmomentaryloudness field.
    • momentaryloudness

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE momentaryloudness(float value)
      Sets the specified value to the momentaryloudness field.
    • shorttermloudness

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE shorttermloudness(float value)
      Sets the specified value to the shorttermloudness field.
    • integratedloudness

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE integratedloudness(float value)
      Sets the specified value to the integratedloudness field.
    • loudness10thpercentile

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE loudness10thpercentile(float value)
      Sets the specified value to the loudness10thpercentile field.
    • loudness95thpercentile

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE loudness95thpercentile(float value)
      Sets the specified value to the loudness95thpercentile field.
    • loudnesshistogram

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE loudnesshistogram(FloatBuffer value)
      Copies the specified FloatBuffer to the loudnesshistogram field.
    • loudnesshistogram

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE loudnesshistogram(int index, float value)
      Sets the specified value at the specified index of the loudnesshistogram field.
    • maxtruepeak

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE maxtruepeak(float value)
      Sets the specified value to the maxtruepeak field.
    • maxmomentaryloudness

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE maxmomentaryloudness(float value)
      Sets the specified value to the maxmomentaryloudness field.
    • set

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE set(float momentaryloudness, float shorttermloudness, float integratedloudness, float loudness10thpercentile, float loudness95thpercentile, FloatBuffer loudnesshistogram, float maxtruepeak, float maxmomentaryloudness)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE malloc()
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE calloc()
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE create()
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE instance allocated with BufferUtils.
    • create

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE create(long address)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE instance for the specified memory address.
    • createSafe

      public static @Nullable FMOD_DSP_LOUDNESS_METER_INFO_TYPE createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer malloc(int capacity)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer calloc(int capacity)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer create(int capacity)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer create(long address, int capacity)
      Create a FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nmomentaryloudness

      public static float nmomentaryloudness(long struct)
      Unsafe version of momentaryloudness().
    • nshorttermloudness

      public static float nshorttermloudness(long struct)
      Unsafe version of shorttermloudness().
    • nintegratedloudness

      public static float nintegratedloudness(long struct)
      Unsafe version of integratedloudness().
    • nloudness10thpercentile

      public static float nloudness10thpercentile(long struct)
      Unsafe version of loudness10thpercentile().
    • nloudness95thpercentile

      public static float nloudness95thpercentile(long struct)
      Unsafe version of loudness95thpercentile().
    • nloudnesshistogram

      public static FloatBuffer nloudnesshistogram(long struct)
      Unsafe version of loudnesshistogram().
    • nloudnesshistogram

      public static float nloudnesshistogram(long struct, int index)
      Unsafe version of loudnesshistogram.
    • nmaxtruepeak

      public static float nmaxtruepeak(long struct)
      Unsafe version of maxtruepeak().
    • nmaxmomentaryloudness

      public static float nmaxmomentaryloudness(long struct)
      Unsafe version of maxmomentaryloudness().
    • nmomentaryloudness

      public static void nmomentaryloudness(long struct, float value)
      Unsafe version of momentaryloudness.
    • nshorttermloudness

      public static void nshorttermloudness(long struct, float value)
      Unsafe version of shorttermloudness.
    • nintegratedloudness

      public static void nintegratedloudness(long struct, float value)
      Unsafe version of integratedloudness.
    • nloudness10thpercentile

      public static void nloudness10thpercentile(long struct, float value)
      Unsafe version of loudness10thpercentile.
    • nloudness95thpercentile

      public static void nloudness95thpercentile(long struct, float value)
      Unsafe version of loudness95thpercentile.
    • nloudnesshistogram

      public static void nloudnesshistogram(long struct, FloatBuffer value)
      Unsafe version of loudnesshistogram.
    • nloudnesshistogram

      public static void nloudnesshistogram(long struct, int index, float value)
      Unsafe version of loudnesshistogram.
    • nmaxtruepeak

      public static void nmaxtruepeak(long struct, float value)
      Unsafe version of maxtruepeak.
    • nmaxmomentaryloudness

      public static void nmaxmomentaryloudness(long struct, float value)
      Unsafe version of maxmomentaryloudness.