Package org.lwjgl.fmod
Class FMOD_DSP_STATE_FUNCTIONS.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FMOD_DSP_STATE_FUNCTIONS.Buffer>
org.lwjgl.system.StructBuffer<FMOD_DSP_STATE_FUNCTIONS,FMOD_DSP_STATE_FUNCTIONS.Buffer>
org.lwjgl.fmod.FMOD_DSP_STATE_FUNCTIONS.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<FMOD_DSP_STATE_FUNCTIONS>
,NativeResource
,Pointer
- Enclosing class:
FMOD_DSP_STATE_FUNCTIONS
public static class FMOD_DSP_STATE_FUNCTIONS.Buffer
extends StructBuffer<FMOD_DSP_STATE_FUNCTIONS,FMOD_DSP_STATE_FUNCTIONS.Buffer>
implements NativeResource
An array of
FMOD_DSP_STATE_FUNCTIONS
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 newFMOD_DSP_STATE_FUNCTIONS.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionalloc()
alloc
(FMOD_DSP_ALLOC_FUNCI value) Sets the specified value to thealloc
field.dft()
dft
(FMOD_DSP_STATE_DFT_FUNCTIONS value) Sets the address of the specifiedFMOD_DSP_STATE_DFT_FUNCTIONS
to thedft
field.free$()
free$
(FMOD_DSP_FREE_FUNCI value) Sets the specified value to thefree
field.Sets the specified value to thegetblocksize
field.getclock()
getclock
(FMOD_DSP_GETCLOCK_FUNCI value) Sets the specified value to thegetclock
field.Sets the specified value to thegetlistenerattributes
field.Sets the specified value to thegetsamplerate
field.Sets the specified value to thegetspeakermode
field.Sets the specified value to thegetuserdata
field.log()
log
(FMOD_DSP_LOG_FUNCI value) Sets the specified value to thelog
field.pan()
pan
(FMOD_DSP_STATE_PAN_FUNCTIONS value) Sets the address of the specifiedFMOD_DSP_STATE_PAN_FUNCTIONS
to thepan
field.realloc()
realloc
(FMOD_DSP_REALLOC_FUNCI value) Sets the specified value to therealloc
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 newFMOD_DSP_STATE_FUNCTIONS.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_STATE_FUNCTIONS.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
-
alloc
- Returns:
- the value of the
alloc
field.
-
realloc
- Returns:
- the value of the
realloc
field.
-
free$
- Returns:
- the value of the
free
field.
-
getsamplerate
- Returns:
- the value of the
getsamplerate
field.
-
getblocksize
- Returns:
- the value of the
getblocksize
field.
-
dft
- Returns:
- a
FMOD_DSP_STATE_DFT_FUNCTIONS
view of the struct pointed to by thedft
field.
-
pan
- Returns:
- a
FMOD_DSP_STATE_PAN_FUNCTIONS
view of the struct pointed to by thepan
field.
-
getspeakermode
- Returns:
- the value of the
getspeakermode
field.
-
getclock
- Returns:
- the value of the
getclock
field.
-
getlistenerattributes
- Returns:
- the value of the
getlistenerattributes
field.
-
log
- Returns:
- the value of the
log
field.
-
getuserdata
- Returns:
- the value of the
getuserdata
field.
-
alloc
Sets the specified value to thealloc
field. -
realloc
Sets the specified value to therealloc
field. -
free$
Sets the specified value to thefree
field. -
getsamplerate
Sets the specified value to thegetsamplerate
field. -
getblocksize
Sets the specified value to thegetblocksize
field. -
dft
Sets the address of the specifiedFMOD_DSP_STATE_DFT_FUNCTIONS
to thedft
field. -
pan
Sets the address of the specifiedFMOD_DSP_STATE_PAN_FUNCTIONS
to thepan
field. -
getspeakermode
Sets the specified value to thegetspeakermode
field. -
getclock
Sets the specified value to thegetclock
field. -
getlistenerattributes
public FMOD_DSP_STATE_FUNCTIONS.Buffer getlistenerattributes(FMOD_DSP_GETLISTENERATTRIBUTES_FUNCI value) Sets the specified value to thegetlistenerattributes
field. -
log
Sets the specified value to thelog
field. -
getuserdata
Sets the specified value to thegetuserdata
field.
-