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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
apiversion
(int value) Sets the specified value to theapiversion
field.@Nullable FMOD_OUTPUT_CLOSE_CALLBACK
close$()
close$
(@Nullable FMOD_OUTPUT_CLOSE_CALLBACKI value) Sets the specified value to theclose
field.@Nullable FMOD_OUTPUT_CLOSEPORT_CALLBACK
closeport
(@Nullable FMOD_OUTPUT_CLOSEPORT_CALLBACKI value) Sets the specified value to thecloseport
field.@Nullable FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACK
devicelistchanged
(@Nullable FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACKI value) Sets the specified value to thedevicelistchanged
field.Sets the specified value to thegetdriverinfo
field.@Nullable FMOD_OUTPUT_GETHANDLE_CALLBACK
gethandle
(@Nullable FMOD_OUTPUT_GETHANDLE_CALLBACKI value) Sets the specified value to thegethandle
field.Sets the specified value to thegetnumdrivers
field.init()
init
(FMOD_OUTPUT_INIT_CALLBACKI value) Sets the specified value to theinit
field.int
method()
method
(int value) Sets the specified value to themethod
field.@Nullable FMOD_OUTPUT_MIXER_CALLBACK
mixer()
mixer
(@Nullable FMOD_OUTPUT_MIXER_CALLBACKI value) Sets the specified value to themixer
field.name()
name
(ByteBuffer value) Sets the address of the specified encoded string to thename
field.@Nullable FMOD_OUTPUT_OBJECT3DALLOC_CALLBACK
object3dalloc
(@Nullable FMOD_OUTPUT_OBJECT3DALLOC_CALLBACKI value) Sets the specified value to theobject3dalloc
field.@Nullable FMOD_OUTPUT_OBJECT3DFREE_CALLBACK
object3dfree
(@Nullable FMOD_OUTPUT_OBJECT3DFREE_CALLBACKI value) Sets the specified value to theobject3dfree
field.@Nullable FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACK
object3dgetinfo
(@Nullable FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACKI value) Sets the specified value to theobject3dgetinfo
field.@Nullable FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACK
object3dupdate
(@Nullable FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACKI value) Sets the specified value to theobject3dupdate
field.@Nullable FMOD_OUTPUT_OPENPORT_CALLBACK
openport()
openport
(@Nullable FMOD_OUTPUT_OPENPORT_CALLBACKI value) Sets the specified value to theopenport
field.@Nullable FMOD_OUTPUT_START_CALLBACK
start()
start
(@Nullable FMOD_OUTPUT_START_CALLBACKI value) Sets the specified value to thestart
field.@Nullable FMOD_OUTPUT_STOP_CALLBACK
stop()
stop
(@Nullable FMOD_OUTPUT_STOP_CALLBACKI value) Sets the specified value to thestop
field.@Nullable FMOD_OUTPUT_UPDATE_CALLBACK
update()
update
(@Nullable FMOD_OUTPUT_UPDATE_CALLBACKI value) Sets the specified value to theupdate
field.int
version()
version
(int value) Sets the specified value to theversion
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_OUTPUT_DESCRIPTION.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_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
apiversion
field.
-
name
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by thename
field.
-
nameString
- Returns:
- the null-terminated string pointed to by the
name
field.
-
version
public int version()- Returns:
- the value of the
version
field.
-
method
public int method()- Returns:
- the value of the
method
field.
-
getnumdrivers
- Returns:
- the value of the
getnumdrivers
field.
-
getdriverinfo
- Returns:
- the value of the
getdriverinfo
field.
-
init
- Returns:
- the value of the
init
field.
-
start
- Returns:
- the value of the
start
field.
-
stop
- Returns:
- the value of the
stop
field.
-
close$
- Returns:
- the value of the
close
field.
-
update
- Returns:
- the value of the
update
field.
-
gethandle
- Returns:
- the value of the
gethandle
field.
-
mixer
- Returns:
- the value of the
mixer
field.
-
object3dgetinfo
- Returns:
- the value of the
object3dgetinfo
field.
-
object3dalloc
- Returns:
- the value of the
object3dalloc
field.
-
object3dfree
- Returns:
- the value of the
object3dfree
field.
-
object3dupdate
- Returns:
- the value of the
object3dupdate
field.
-
openport
- Returns:
- the value of the
openport
field.
-
closeport
- Returns:
- the value of the
closeport
field.
-
devicelistchanged
- Returns:
- the value of the
devicelistchanged
field.
-
apiversion
Sets the specified value to theapiversion
field. -
name
Sets the address of the specified encoded string to thename
field. -
version
Sets the specified value to theversion
field. -
method
Sets the specified value to themethod
field. -
getnumdrivers
Sets the specified value to thegetnumdrivers
field. -
getdriverinfo
Sets the specified value to thegetdriverinfo
field. -
init
Sets the specified value to theinit
field. -
start
Sets the specified value to thestart
field. -
stop
Sets the specified value to thestop
field. -
close$
Sets the specified value to theclose
field. -
update
Sets the specified value to theupdate
field. -
gethandle
Sets the specified value to thegethandle
field. -
mixer
Sets the specified value to themixer
field. -
object3dgetinfo
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dgetinfo(@Nullable FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACKI value) Sets the specified value to theobject3dgetinfo
field. -
object3dalloc
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dalloc(@Nullable FMOD_OUTPUT_OBJECT3DALLOC_CALLBACKI value) Sets the specified value to theobject3dalloc
field. -
object3dfree
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dfree(@Nullable FMOD_OUTPUT_OBJECT3DFREE_CALLBACKI value) Sets the specified value to theobject3dfree
field. -
object3dupdate
public FMOD_OUTPUT_DESCRIPTION.Buffer object3dupdate(@Nullable FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACKI value) Sets the specified value to theobject3dupdate
field. -
openport
Sets the specified value to theopenport
field. -
closeport
Sets the specified value to thecloseport
field. -
devicelistchanged
public FMOD_OUTPUT_DESCRIPTION.Buffer devicelistchanged(@Nullable FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACKI value) Sets the specified value to thedevicelistchanged
field.
-