Package org.lwjgl.fmod
Class FMOD_OUTPUT_DESCRIPTION.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FMOD_OUTPUT_DESCRIPTION.Buffer>
org.lwjgl.system.StructBuffer<FMOD_OUTPUT_DESCRIPTION,FMOD_OUTPUT_DESCRIPTION.Buffer>
org.lwjgl.fmod.FMOD_OUTPUT_DESCRIPTION.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<FMOD_OUTPUT_DESCRIPTION>,NativeResource,Pointer
- Enclosing class:
FMOD_OUTPUT_DESCRIPTION
public static class FMOD_OUTPUT_DESCRIPTION.Buffer
extends StructBuffer<FMOD_OUTPUT_DESCRIPTION,FMOD_OUTPUT_DESCRIPTION.Buffer>
implements NativeResource
An array of
FMOD_OUTPUT_DESCRIPTION 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_OUTPUT_DESCRIPTION.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintapiversion(int value) Sets the specified value to theapiversionfield.@Nullable FMOD_OUTPUT_CLOSE_CALLBACKclose$()close$(@Nullable FMOD_OUTPUT_CLOSE_CALLBACKI value) Sets the specified value to theclosefield.@Nullable FMOD_OUTPUT_CLOSEPORT_CALLBACKcloseport(@Nullable FMOD_OUTPUT_CLOSEPORT_CALLBACKI value) Sets the specified value to thecloseportfield.@Nullable FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACKdevicelistchanged(@Nullable FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACKI value) Sets the specified value to thedevicelistchangedfield.Sets the specified value to thegetdriverinfofield.@Nullable FMOD_OUTPUT_GETHANDLE_CALLBACKgethandle(@Nullable FMOD_OUTPUT_GETHANDLE_CALLBACKI value) Sets the specified value to thegethandlefield.Sets the specified value to thegetnumdriversfield.init()init(FMOD_OUTPUT_INIT_CALLBACKI value) Sets the specified value to theinitfield.intmethod()method(int value) Sets the specified value to themethodfield.@Nullable FMOD_OUTPUT_MIXER_CALLBACKmixer()mixer(@Nullable FMOD_OUTPUT_MIXER_CALLBACKI value) Sets the specified value to themixerfield.name()name(ByteBuffer value) Sets the address of the specified encoded string to thenamefield.@Nullable FMOD_OUTPUT_OBJECT3DALLOC_CALLBACKobject3dalloc(@Nullable FMOD_OUTPUT_OBJECT3DALLOC_CALLBACKI value) Sets the specified value to theobject3dallocfield.@Nullable FMOD_OUTPUT_OBJECT3DFREE_CALLBACKobject3dfree(@Nullable FMOD_OUTPUT_OBJECT3DFREE_CALLBACKI value) Sets the specified value to theobject3dfreefield.@Nullable FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACKobject3dgetinfo(@Nullable FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACKI value) Sets the specified value to theobject3dgetinfofield.@Nullable FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACKobject3dupdate(@Nullable FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACKI value) Sets the specified value to theobject3dupdatefield.@Nullable FMOD_OUTPUT_OPENPORT_CALLBACKopenport()openport(@Nullable FMOD_OUTPUT_OPENPORT_CALLBACKI value) Sets the specified value to theopenportfield.@Nullable FMOD_OUTPUT_START_CALLBACKstart()start(@Nullable FMOD_OUTPUT_START_CALLBACKI value) Sets the specified value to thestartfield.@Nullable FMOD_OUTPUT_STOP_CALLBACKstop()stop(@Nullable FMOD_OUTPUT_STOP_CALLBACKI value) Sets the specified value to thestopfield.@Nullable FMOD_OUTPUT_UPDATE_CALLBACKupdate()update(@Nullable FMOD_OUTPUT_UPDATE_CALLBACKI value) Sets the specified value to theupdatefield.intversion()version(int value) Sets the specified value to theversionfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newFMOD_OUTPUT_DESCRIPTION.Bufferinstance 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_OUTPUT_DESCRIPTION.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
-
apiversion
public int apiversion()- Returns:
- the value of the
apiversionfield.
-
name
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thenamefield.
-
nameString
- Returns:
- the null-terminated string pointed to by the
namefield.
-
version
public int version()- Returns:
- the value of the
versionfield.
-
method
public int method()- Returns:
- the value of the
methodfield.
-
getnumdrivers
- Returns:
- the value of the
getnumdriversfield.
-
getdriverinfo
- Returns:
- the value of the
getdriverinfofield.
-
init
- Returns:
- the value of the
initfield.
-
start
- Returns:
- the value of the
startfield.
-
stop
- Returns:
- the value of the
stopfield.
-
close$
- Returns:
- the value of the
closefield.
-
update
- Returns:
- the value of the
updatefield.
-
gethandle
- Returns:
- the value of the
gethandlefield.
-
mixer
- Returns:
- the value of the
mixerfield.
-
object3dgetinfo
- Returns:
- the value of the
object3dgetinfofield.
-
object3dalloc
- Returns:
- the value of the
object3dallocfield.
-
object3dfree
- Returns:
- the value of the
object3dfreefield.
-
object3dupdate
- Returns:
- the value of the
object3dupdatefield.
-
openport
- Returns:
- the value of the
openportfield.
-
closeport
- Returns:
- the value of the
closeportfield.
-
devicelistchanged
- Returns:
- the value of the
devicelistchangedfield.
-
apiversion
Sets the specified value to theapiversionfield. -
name
Sets the address of the specified encoded string to thenamefield. -
version
Sets the specified value to theversionfield. -
method
Sets the specified value to themethodfield. -
getnumdrivers
Sets the specified value to thegetnumdriversfield. -
getdriverinfo
Sets the specified value to thegetdriverinfofield. -
init
Sets the specified value to theinitfield. -
start
Sets the specified value to thestartfield. -
stop
Sets the specified value to thestopfield. -
close$
Sets the specified value to theclosefield. -
update
Sets the specified value to theupdatefield. -
gethandle
Sets the specified value to thegethandlefield. -
mixer
Sets the specified value to themixerfield. -
object3dgetinfo
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dgetinfo(@Nullable FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACKI value) Sets the specified value to theobject3dgetinfofield. -
object3dalloc
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dalloc(@Nullable FMOD_OUTPUT_OBJECT3DALLOC_CALLBACKI value) Sets the specified value to theobject3dallocfield. -
object3dfree
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dfree(@Nullable FMOD_OUTPUT_OBJECT3DFREE_CALLBACKI value) Sets the specified value to theobject3dfreefield. -
object3dupdate
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dupdate(@Nullable FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACKI value) Sets the specified value to theobject3dupdatefield. -
openport
Sets the specified value to theopenportfield. -
closeport
Sets the specified value to thecloseportfield. -
devicelistchanged
public FMOD_OUTPUT_DESCRIPTION.Buffer devicelistchanged(@Nullable FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACKI value) Sets the specified value to thedevicelistchangedfield.
-