Package org.lwjgl.fmod
Class FSBANK_SUBSOUND.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FSBANK_SUBSOUND.Buffer>
org.lwjgl.system.StructBuffer<FSBANK_SUBSOUND,FSBANK_SUBSOUND.Buffer>
org.lwjgl.fmod.FSBANK_SUBSOUND.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<FSBANK_SUBSOUND>
,NativeResource
,Pointer
- Enclosing class:
FSBANK_SUBSOUND
public static class FSBANK_SUBSOUND.Buffer
extends StructBuffer<FSBANK_SUBSOUND,FSBANK_SUBSOUND.Buffer>
implements NativeResource
An array of
FSBANK_SUBSOUND
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newFSBANK_SUBSOUND.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloat
desiredSampleRate
(float value) Sets the specified value to thedesiredSampleRate
field.fileData()
fileData
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to thefileData
field.fileDataLengths
(IntBuffer value) Sets the address of the specifiedIntBuffer
to thefileDataLengths
field.fileNames
(PointerBuffer value) Sets the address of the specifiedPointerBuffer
to thefileNames
field.int
numFiles()
numFiles
(int value) Sets the specified value to thenumFiles
field.int
overrideFlags
(int value) Sets the specified value to theoverrideFlags
field.int
overrideQuality
(int value) Sets the specified value to theoverrideQuality
field.float
percentOptimizedRate
(float value) Sets the specified value to thepercentOptimizedRate
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newFSBANK_SUBSOUND.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
FSBANK_SUBSOUND.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
-
fileNames
- Returns:
- a
PointerBuffer
view of the data pointed to by thefileNames
field.
-
fileData
- Returns:
- a
PointerBuffer
view of the data pointed to by thefileData
field.
-
fileDataLengths
- Returns:
- a
IntBuffer
view of the data pointed to by thefileDataLengths
field.
-
numFiles
public int numFiles()- Returns:
- the value of the
numFiles
field.
-
overrideFlags
public int overrideFlags()- Returns:
- the value of the
overrideFlags
field.
-
overrideQuality
public int overrideQuality()- Returns:
- the value of the
overrideQuality
field.
-
desiredSampleRate
public float desiredSampleRate()- Returns:
- the value of the
desiredSampleRate
field.
-
percentOptimizedRate
public float percentOptimizedRate()- Returns:
- the value of the
percentOptimizedRate
field.
-
fileNames
Sets the address of the specifiedPointerBuffer
to thefileNames
field. -
fileData
Sets the address of the specifiedPointerBuffer
to thefileData
field. -
fileDataLengths
Sets the address of the specifiedIntBuffer
to thefileDataLengths
field. -
numFiles
Sets the specified value to thenumFiles
field. -
overrideFlags
Sets the specified value to theoverrideFlags
field. -
overrideQuality
Sets the specified value to theoverrideQuality
field. -
desiredSampleRate
Sets the specified value to thedesiredSampleRate
field. -
percentOptimizedRate
Sets the specified value to thepercentOptimizedRate
field.
-