Class FMOD_REVERB_PROPERTIES

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class FMOD_REVERB_PROPERTIES extends Struct<FMOD_REVERB_PROPERTIES> implements NativeResource

 struct FMOD_REVERB_PROPERTIES {
     float DecayTime;
     float EarlyDelay;
     float LateDelay;
     float HFReference;
     float HFDecayRatio;
     float Diffusion;
     float Density;
     float LowShelfFrequency;
     float LowShelfGain;
     float HighCut;
     float EarlyLateMix;
     float WetLevel;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int DECAYTIME
      The struct member offsets.
    • EARLYDELAY

      public static final int EARLYDELAY
      The struct member offsets.
    • LATEDELAY

      public static final int LATEDELAY
      The struct member offsets.
    • HFREFERENCE

      public static final int HFREFERENCE
      The struct member offsets.
    • HFDECAYRATIO

      public static final int HFDECAYRATIO
      The struct member offsets.
    • DIFFUSION

      public static final int DIFFUSION
      The struct member offsets.
    • DENSITY

      public static final int DENSITY
      The struct member offsets.
    • LOWSHELFFREQUENCY

      public static final int LOWSHELFFREQUENCY
      The struct member offsets.
    • LOWSHELFGAIN

      public static final int LOWSHELFGAIN
      The struct member offsets.
    • HIGHCUT

      public static final int HIGHCUT
      The struct member offsets.
    • EARLYLATEMIX

      public static final int EARLYLATEMIX
      The struct member offsets.
    • WETLEVEL

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

    • FMOD_REVERB_PROPERTIES

      public FMOD_REVERB_PROPERTIES(ByteBuffer container)
      Creates a FMOD_REVERB_PROPERTIES 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()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<FMOD_REVERB_PROPERTIES>
    • DecayTime

      public float DecayTime()
      Returns:
      the value of the DecayTime field.
    • EarlyDelay

      public float EarlyDelay()
      Returns:
      the value of the EarlyDelay field.
    • LateDelay

      public float LateDelay()
      Returns:
      the value of the LateDelay field.
    • HFReference

      public float HFReference()
      Returns:
      the value of the HFReference field.
    • HFDecayRatio

      public float HFDecayRatio()
      Returns:
      the value of the HFDecayRatio field.
    • Diffusion

      public float Diffusion()
      Returns:
      the value of the Diffusion field.
    • Density

      public float Density()
      Returns:
      the value of the Density field.
    • LowShelfFrequency

      public float LowShelfFrequency()
      Returns:
      the value of the LowShelfFrequency field.
    • LowShelfGain

      public float LowShelfGain()
      Returns:
      the value of the LowShelfGain field.
    • HighCut

      public float HighCut()
      Returns:
      the value of the HighCut field.
    • EarlyLateMix

      public float EarlyLateMix()
      Returns:
      the value of the EarlyLateMix field.
    • WetLevel

      public float WetLevel()
      Returns:
      the value of the WetLevel field.
    • DecayTime

      public FMOD_REVERB_PROPERTIES DecayTime(float value)
      Sets the specified value to the DecayTime field.
    • EarlyDelay

      public FMOD_REVERB_PROPERTIES EarlyDelay(float value)
      Sets the specified value to the EarlyDelay field.
    • LateDelay

      public FMOD_REVERB_PROPERTIES LateDelay(float value)
      Sets the specified value to the LateDelay field.
    • HFReference

      public FMOD_REVERB_PROPERTIES HFReference(float value)
      Sets the specified value to the HFReference field.
    • HFDecayRatio

      public FMOD_REVERB_PROPERTIES HFDecayRatio(float value)
      Sets the specified value to the HFDecayRatio field.
    • Diffusion

      public FMOD_REVERB_PROPERTIES Diffusion(float value)
      Sets the specified value to the Diffusion field.
    • Density

      public FMOD_REVERB_PROPERTIES Density(float value)
      Sets the specified value to the Density field.
    • LowShelfFrequency

      public FMOD_REVERB_PROPERTIES LowShelfFrequency(float value)
      Sets the specified value to the LowShelfFrequency field.
    • LowShelfGain

      public FMOD_REVERB_PROPERTIES LowShelfGain(float value)
      Sets the specified value to the LowShelfGain field.
    • HighCut

      public FMOD_REVERB_PROPERTIES HighCut(float value)
      Sets the specified value to the HighCut field.
    • EarlyLateMix

      public FMOD_REVERB_PROPERTIES EarlyLateMix(float value)
      Sets the specified value to the EarlyLateMix field.
    • WetLevel

      public FMOD_REVERB_PROPERTIES WetLevel(float value)
      Sets the specified value to the WetLevel field.
    • set

      public FMOD_REVERB_PROPERTIES set(float DecayTime, float EarlyDelay, float LateDelay, float HFReference, float HFDecayRatio, float Diffusion, float Density, float LowShelfFrequency, float LowShelfGain, float HighCut, float EarlyLateMix, float WetLevel)
      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_REVERB_PROPERTIES malloc()
      Returns a new FMOD_REVERB_PROPERTIES instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

      public static FMOD_REVERB_PROPERTIES calloc(MemoryStack stack)
      Returns a new FMOD_REVERB_PROPERTIES 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_REVERB_PROPERTIES.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new FMOD_REVERB_PROPERTIES.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static FMOD_REVERB_PROPERTIES.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new FMOD_REVERB_PROPERTIES.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
    • nDecayTime

      public static float nDecayTime(long struct)
      Unsafe version of DecayTime().
    • nEarlyDelay

      public static float nEarlyDelay(long struct)
      Unsafe version of EarlyDelay().
    • nLateDelay

      public static float nLateDelay(long struct)
      Unsafe version of LateDelay().
    • nHFReference

      public static float nHFReference(long struct)
      Unsafe version of HFReference().
    • nHFDecayRatio

      public static float nHFDecayRatio(long struct)
      Unsafe version of HFDecayRatio().
    • nDiffusion

      public static float nDiffusion(long struct)
      Unsafe version of Diffusion().
    • nDensity

      public static float nDensity(long struct)
      Unsafe version of Density().
    • nLowShelfFrequency

      public static float nLowShelfFrequency(long struct)
      Unsafe version of LowShelfFrequency().
    • nLowShelfGain

      public static float nLowShelfGain(long struct)
      Unsafe version of LowShelfGain().
    • nHighCut

      public static float nHighCut(long struct)
      Unsafe version of HighCut().
    • nEarlyLateMix

      public static float nEarlyLateMix(long struct)
      Unsafe version of EarlyLateMix().
    • nWetLevel

      public static float nWetLevel(long struct)
      Unsafe version of WetLevel().
    • nDecayTime

      public static void nDecayTime(long struct, float value)
      Unsafe version of DecayTime.
    • nEarlyDelay

      public static void nEarlyDelay(long struct, float value)
      Unsafe version of EarlyDelay.
    • nLateDelay

      public static void nLateDelay(long struct, float value)
      Unsafe version of LateDelay.
    • nHFReference

      public static void nHFReference(long struct, float value)
      Unsafe version of HFReference.
    • nHFDecayRatio

      public static void nHFDecayRatio(long struct, float value)
      Unsafe version of HFDecayRatio.
    • nDiffusion

      public static void nDiffusion(long struct, float value)
      Unsafe version of Diffusion.
    • nDensity

      public static void nDensity(long struct, float value)
      Unsafe version of Density.
    • nLowShelfFrequency

      public static void nLowShelfFrequency(long struct, float value)
      Unsafe version of LowShelfFrequency.
    • nLowShelfGain

      public static void nLowShelfGain(long struct, float value)
      Unsafe version of LowShelfGain.
    • nHighCut

      public static void nHighCut(long struct, float value)
      Unsafe version of HighCut.
    • nEarlyLateMix

      public static void nEarlyLateMix(long struct, float value)
      Unsafe version of EarlyLateMix.
    • nWetLevel

      public static void nWetLevel(long struct, float value)
      Unsafe version of WetLevel.