Package org.lwjgl.fmod
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;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofFMOD_DSP_LOUDNESS_METER_INFO_TYPEstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionFMOD_DSP_LOUDNESS_METER_INFO_TYPE(ByteBuffer container) Creates aFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated withmemCalloc.calloc(int capacity) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated withBufferUtils.create(int capacity) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated withBufferUtils.create(long address) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance for the specified memory address.create(long address, int capacity) Create aFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance at the specified memory.static @Nullable FMOD_DSP_LOUDNESS_METER_INFO_TYPEcreateSafe(long address) static @Nullable FMOD_DSP_LOUDNESS_METER_INFO_TYPE.BuffercreateSafe(long address, int capacity) floatintegratedloudness(float value) Sets the specified value to theintegratedloudnessfield.floatloudness10thpercentile(float value) Sets the specified value to theloudness10thpercentilefield.floatloudness95thpercentile(float value) Sets the specified value to theloudness95thpercentilefield.floatloudnesshistogram(int index) loudnesshistogram(int index, float value) Sets the specified value at the specified index of theloudnesshistogramfield.loudnesshistogram(FloatBuffer value) Copies the specifiedFloatBufferto theloudnesshistogramfield.malloc()Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated withmemAlloc.malloc(int capacity) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated on the specifiedMemoryStack.floatmaxmomentaryloudness(float value) Sets the specified value to themaxmomentaryloudnessfield.floatmaxtruepeak(float value) Sets the specified value to themaxtruepeakfield.floatmomentaryloudness(float value) Sets the specified value to themomentaryloudnessfield.static floatnintegratedloudness(long struct) Unsafe version ofintegratedloudness().static voidnintegratedloudness(long struct, float value) Unsafe version ofintegratedloudness.static floatnloudness10thpercentile(long struct) Unsafe version ofloudness10thpercentile().static voidnloudness10thpercentile(long struct, float value) Unsafe version ofloudness10thpercentile.static floatnloudness95thpercentile(long struct) Unsafe version ofloudness95thpercentile().static voidnloudness95thpercentile(long struct, float value) Unsafe version ofloudness95thpercentile.static FloatBuffernloudnesshistogram(long struct) Unsafe version ofloudnesshistogram().static floatnloudnesshistogram(long struct, int index) Unsafe version ofloudnesshistogram.static voidnloudnesshistogram(long struct, int index, float value) Unsafe version ofloudnesshistogram.static voidnloudnesshistogram(long struct, FloatBuffer value) Unsafe version ofloudnesshistogram.static floatnmaxmomentaryloudness(long struct) Unsafe version ofmaxmomentaryloudness().static voidnmaxmomentaryloudness(long struct, float value) Unsafe version ofmaxmomentaryloudness.static floatnmaxtruepeak(long struct) Unsafe version ofmaxtruepeak().static voidnmaxtruepeak(long struct, float value) Unsafe version ofmaxtruepeak.static floatnmomentaryloudness(long struct) Unsafe version ofmomentaryloudness().static voidnmomentaryloudness(long struct, float value) Unsafe version ofmomentaryloudness.static floatnshorttermloudness(long struct) Unsafe version ofshorttermloudness().static voidnshorttermloudness(long struct, float value) Unsafe version ofshorttermloudness.set(float momentaryloudness, float shorttermloudness, float integratedloudness, float loudness10thpercentile, float loudness95thpercentile, FloatBuffer loudnesshistogram, float maxtruepeak, float maxmomentaryloudness) Initializes this struct with the specified values.Copies the specified struct data to this struct.floatshorttermloudness(float value) Sets the specified value to theshorttermloudnessfield.intsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
MOMENTARYLOUDNESS
public static final int MOMENTARYLOUDNESSThe struct member offsets. -
SHORTTERMLOUDNESS
public static final int SHORTTERMLOUDNESSThe struct member offsets. -
INTEGRATEDLOUDNESS
public static final int INTEGRATEDLOUDNESSThe struct member offsets. -
LOUDNESS10THPERCENTILE
public static final int LOUDNESS10THPERCENTILEThe struct member offsets. -
LOUDNESS95THPERCENTILE
public static final int LOUDNESS95THPERCENTILEThe struct member offsets. -
LOUDNESSHISTOGRAM
public static final int LOUDNESSHISTOGRAMThe struct member offsets. -
MAXTRUEPEAK
public static final int MAXTRUEPEAKThe struct member offsets. -
MAXMOMENTARYLOUDNESS
public static final int MAXMOMENTARYLOUDNESSThe struct member offsets.
-
-
Constructor Details
-
FMOD_DSP_LOUDNESS_METER_INFO_TYPE
Creates aFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct<FMOD_DSP_LOUDNESS_METER_INFO_TYPE>
-
momentaryloudness
public float momentaryloudness()- Returns:
- the value of the
momentaryloudnessfield.
-
shorttermloudness
public float shorttermloudness()- Returns:
- the value of the
shorttermloudnessfield.
-
integratedloudness
public float integratedloudness()- Returns:
- the value of the
integratedloudnessfield.
-
loudness10thpercentile
public float loudness10thpercentile()- Returns:
- the value of the
loudness10thpercentilefield.
-
loudness95thpercentile
public float loudness95thpercentile()- Returns:
- the value of the
loudness95thpercentilefield.
-
loudnesshistogram
- Returns:
- a
FloatBufferview of theloudnesshistogramfield.
-
loudnesshistogram
public float loudnesshistogram(int index) - Returns:
- the value at the specified index of the
loudnesshistogramfield.
-
maxtruepeak
public float maxtruepeak()- Returns:
- the value of the
maxtruepeakfield.
-
maxmomentaryloudness
public float maxmomentaryloudness()- Returns:
- the value of the
maxmomentaryloudnessfield.
-
momentaryloudness
Sets the specified value to themomentaryloudnessfield. -
shorttermloudness
Sets the specified value to theshorttermloudnessfield. -
integratedloudness
Sets the specified value to theintegratedloudnessfield. -
loudness10thpercentile
Sets the specified value to theloudness10thpercentilefield. -
loudness95thpercentile
Sets the specified value to theloudness95thpercentilefield. -
loudnesshistogram
Copies the specifiedFloatBufferto theloudnesshistogramfield. -
loudnesshistogram
Sets the specified value at the specified index of theloudnesshistogramfield. -
maxtruepeak
Sets the specified value to themaxtruepeakfield. -
maxmomentaryloudness
Sets the specified value to themaxmomentaryloudnessfield. -
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
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated withBufferUtils. -
create
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance for the specified memory address. -
createSafe
-
malloc
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable FMOD_DSP_LOUDNESS_METER_INFO_TYPE.Buffer createSafe(long address, int capacity) -
malloc
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newFMOD_DSP_LOUDNESS_METER_INFO_TYPEinstance allocated on the specifiedMemoryStackand 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 newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- 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 newFMOD_DSP_LOUDNESS_METER_INFO_TYPE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nmomentaryloudness
public static float nmomentaryloudness(long struct) Unsafe version ofmomentaryloudness(). -
nshorttermloudness
public static float nshorttermloudness(long struct) Unsafe version ofshorttermloudness(). -
nintegratedloudness
public static float nintegratedloudness(long struct) Unsafe version ofintegratedloudness(). -
nloudness10thpercentile
public static float nloudness10thpercentile(long struct) Unsafe version ofloudness10thpercentile(). -
nloudness95thpercentile
public static float nloudness95thpercentile(long struct) Unsafe version ofloudness95thpercentile(). -
nloudnesshistogram
Unsafe version ofloudnesshistogram(). -
nloudnesshistogram
public static float nloudnesshistogram(long struct, int index) Unsafe version ofloudnesshistogram. -
nmaxtruepeak
public static float nmaxtruepeak(long struct) Unsafe version ofmaxtruepeak(). -
nmaxmomentaryloudness
public static float nmaxmomentaryloudness(long struct) Unsafe version ofmaxmomentaryloudness(). -
nmomentaryloudness
public static void nmomentaryloudness(long struct, float value) Unsafe version ofmomentaryloudness. -
nshorttermloudness
public static void nshorttermloudness(long struct, float value) Unsafe version ofshorttermloudness. -
nintegratedloudness
public static void nintegratedloudness(long struct, float value) Unsafe version ofintegratedloudness. -
nloudness10thpercentile
public static void nloudness10thpercentile(long struct, float value) Unsafe version ofloudness10thpercentile. -
nloudness95thpercentile
public static void nloudness95thpercentile(long struct, float value) Unsafe version ofloudness95thpercentile. -
nloudnesshistogram
Unsafe version ofloudnesshistogram. -
nloudnesshistogram
public static void nloudnesshistogram(long struct, int index, float value) Unsafe version ofloudnesshistogram. -
nmaxtruepeak
public static void nmaxtruepeak(long struct, float value) Unsafe version ofmaxtruepeak. -
nmaxmomentaryloudness
public static void nmaxmomentaryloudness(long struct, float value) Unsafe version ofmaxmomentaryloudness.
-