Class FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer>
org.lwjgl.system.StructBuffer<FMOD_DSP_LOUDNESS_METER_INFO_TYPE,FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer>
org.lwjgl.fmod.FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer
All Implemented Interfaces:
AutoCloseable, Iterable<FMOD_DSP_LOUDNESS_METER_INFO_TYPE>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Enclosing class:
FMOD_DSP_LOUDNESS_METER_INFO_TYPE

public static class FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer extends org.lwjgl.system.StructBuffer<FMOD_DSP_LOUDNESS_METER_INFO_TYPE,FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer> implements org.lwjgl.system.NativeResource
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by FMOD_DSP_LOUDNESS_METER_INFO_TYPE.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • 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.Buffer momentaryloudness(float value)
      Sets the specified value to the momentaryloudness field.
    • shorttermloudness

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

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

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

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

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

      public FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer 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.Buffer maxtruepeak(float value)
      Sets the specified value to the maxtruepeak field.
    • maxmomentaryloudness

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