Package org.lwjgl.fmod
Class FMOD_CREATESOUNDEXINFO.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FMOD_CREATESOUNDEXINFO.Buffer>
org.lwjgl.system.StructBuffer<FMOD_CREATESOUNDEXINFO,FMOD_CREATESOUNDEXINFO.Buffer>
org.lwjgl.fmod.FMOD_CREATESOUNDEXINFO.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<FMOD_CREATESOUNDEXINFO>
,NativeResource
,Pointer
- Enclosing class:
FMOD_CREATESOUNDEXINFO
public static class FMOD_CREATESOUNDEXINFO.Buffer
extends StructBuffer<FMOD_CREATESOUNDEXINFO,FMOD_CREATESOUNDEXINFO.Buffer>
implements NativeResource
An array of
FMOD_CREATESOUNDEXINFO
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_CREATESOUNDEXINFO.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
audioqueuepolicy
(int value) Sets the specified value to theaudioqueuepolicy
field.int
cbsize()
cbsize
(int value) Sets the specified value to thecbsize
field.int
channelorder
(int value) Sets the specified value to thechannelorder
field.int
decodebuffersize
(int value) Sets the specified value to thedecodebuffersize
field.int
defaultfrequency
(int value) Sets the specified value to thedefaultfrequency
field.@Nullable ByteBuffer
dlsname()
dlsname
(@Nullable ByteBuffer value) Sets the address of the specified encoded string to thedlsname
field.@Nullable String
@Nullable ByteBuffer
encryptionkey
(@Nullable ByteBuffer value) Sets the address of the specified encoded string to theencryptionkey
field.@Nullable String
int
filebuffersize
(int value) Sets the specified value to thefilebuffersize
field.int
fileoffset
(int value) Sets the specified value to thefileoffset
field.@Nullable FMOD_FILE_ASYNCCANCEL_CALLBACK
fileuserasynccancel
(@Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value) Sets the specified value to thefileuserasynccancel
field.@Nullable FMOD_FILE_ASYNCREAD_CALLBACK
fileuserasyncread
(@Nullable FMOD_FILE_ASYNCREAD_CALLBACKI value) Sets the specified value to thefileuserasyncread
field.@Nullable FMOD_FILE_CLOSE_CALLBACK
fileuserclose
(@Nullable FMOD_FILE_CLOSE_CALLBACKI value) Sets the specified value to thefileuserclose
field.long
fileuserdata
(long value) Sets the specified value to thefileuserdata
field.@Nullable FMOD_FILE_OPEN_CALLBACK
fileuseropen
(@Nullable FMOD_FILE_OPEN_CALLBACKI value) Sets the specified value to thefileuseropen
field.@Nullable FMOD_FILE_READ_CALLBACK
fileuserread
(@Nullable FMOD_FILE_READ_CALLBACKI value) Sets the specified value to thefileuserread
field.@Nullable FMOD_FILE_SEEK_CALLBACK
fileuserseek
(@Nullable FMOD_FILE_SEEK_CALLBACKI value) Sets the specified value to thefileuserseek
field.int
format()
format
(int value) Sets the specified value to theformat
field.@Nullable FMOD_GUID
fsbguid()
Sets the address of the specifiedFMOD_GUID
to thefsbguid
field.int
ignoresetfilesystem
(int value) Sets the specified value to theignoresetfilesystem
field.inclusionlist
(IntBuffer value) Sets the address of the specifiedIntBuffer
to theinclusionlist
field.int
int
initialseekposition
(int value) Sets the specified value to theinitialseekposition
field.int
initialseekpostype
(int value) Sets the specified value to theinitialseekpostype
field.long
initialsoundgroup
(long value) Sets the specified value to theinitialsoundgroup
field.int
initialsubsound
(int value) Sets the specified value to theinitialsubsound
field.int
length()
length
(int value) Sets the specified value to thelength
field.int
maxpolyphony
(int value) Sets the specified value to themaxpolyphony
field.int
minmidigranularity
(int value) Sets the specified value to theminmidigranularity
field.@Nullable FMOD_SOUND_NONBLOCK_CALLBACK
nonblockcallback
(@Nullable FMOD_SOUND_NONBLOCK_CALLBACKI value) Sets the specified value to thenonblockcallback
field.int
nonblockthreadid
(int value) Sets the specified value to thenonblockthreadid
field.int
numchannels
(int value) Sets the specified value to thenumchannels
field.int
numsubsounds
(int value) Sets the specified value to thenumsubsounds
field.@Nullable FMOD_SOUND_PCMREAD_CALLBACK
pcmreadcallback
(@Nullable FMOD_SOUND_PCMREAD_CALLBACKI value) Sets the specified value to thepcmreadcallback
field.@Nullable FMOD_SOUND_PCMSETPOS_CALLBACK
pcmsetposcallback
(@Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI value) Sets the specified value to thepcmsetposcallback
field.int
suggestedsoundtype
(int value) Sets the specified value to thesuggestedsoundtype
field.long
userdata()
userdata
(long value) Sets the specified value to theuserdata
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_CREATESOUNDEXINFO.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_CREATESOUNDEXINFO.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
-
cbsize
public int cbsize()- Returns:
- the value of the
cbsize
field.
-
length
public int length()- Returns:
- the value of the
length
field.
-
fileoffset
public int fileoffset()- Returns:
- the value of the
fileoffset
field.
-
numchannels
public int numchannels()- Returns:
- the value of the
numchannels
field.
-
defaultfrequency
public int defaultfrequency()- Returns:
- the value of the
defaultfrequency
field.
-
format
public int format()- Returns:
- the value of the
format
field.
-
decodebuffersize
public int decodebuffersize()- Returns:
- the value of the
decodebuffersize
field.
-
initialsubsound
public int initialsubsound()- Returns:
- the value of the
initialsubsound
field.
-
numsubsounds
public int numsubsounds()- Returns:
- the value of the
numsubsounds
field.
-
inclusionlist
- Returns:
- a
IntBuffer
view of the data pointed to by theinclusionlist
field.
-
inclusionlistnum
public int inclusionlistnum()- Returns:
- the value of the
inclusionlistnum
field.
-
pcmreadcallback
- Returns:
- the value of the
pcmreadcallback
field.
-
pcmsetposcallback
- Returns:
- the value of the
pcmsetposcallback
field.
-
nonblockcallback
- Returns:
- the value of the
nonblockcallback
field.
-
dlsname
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by thedlsname
field.
-
dlsnameString
- Returns:
- the null-terminated string pointed to by the
dlsname
field.
-
encryptionkey
- Returns:
- a
ByteBuffer
view of the null-terminated string pointed to by theencryptionkey
field.
-
encryptionkeyString
- Returns:
- the null-terminated string pointed to by the
encryptionkey
field.
-
maxpolyphony
public int maxpolyphony()- Returns:
- the value of the
maxpolyphony
field.
-
userdata
public long userdata()- Returns:
- the value of the
userdata
field.
-
suggestedsoundtype
public int suggestedsoundtype()- Returns:
- the value of the
suggestedsoundtype
field.
-
fileuseropen
- Returns:
- the value of the
fileuseropen
field.
-
fileuserclose
- Returns:
- the value of the
fileuserclose
field.
-
fileuserread
- Returns:
- the value of the
fileuserread
field.
-
fileuserseek
- Returns:
- the value of the
fileuserseek
field.
-
fileuserasyncread
- Returns:
- the value of the
fileuserasyncread
field.
-
fileuserasynccancel
- Returns:
- the value of the
fileuserasynccancel
field.
-
fileuserdata
public long fileuserdata()- Returns:
- the value of the
fileuserdata
field.
-
filebuffersize
public int filebuffersize()- Returns:
- the value of the
filebuffersize
field.
-
channelorder
public int channelorder()- Returns:
- the value of the
channelorder
field.
-
initialsoundgroup
public long initialsoundgroup()- Returns:
- the value of the
initialsoundgroup
field.
-
initialseekposition
public int initialseekposition()- Returns:
- the value of the
initialseekposition
field.
-
initialseekpostype
public int initialseekpostype()- Returns:
- the value of the
initialseekpostype
field.
-
ignoresetfilesystem
public int ignoresetfilesystem()- Returns:
- the value of the
ignoresetfilesystem
field.
-
audioqueuepolicy
public int audioqueuepolicy()- Returns:
- the value of the
audioqueuepolicy
field.
-
minmidigranularity
public int minmidigranularity()- Returns:
- the value of the
minmidigranularity
field.
-
nonblockthreadid
public int nonblockthreadid()- Returns:
- the value of the
nonblockthreadid
field.
-
fsbguid
- Returns:
- a
FMOD_GUID
view of the struct pointed to by thefsbguid
field.
-
cbsize
Sets the specified value to thecbsize
field. -
length
Sets the specified value to thelength
field. -
fileoffset
Sets the specified value to thefileoffset
field. -
numchannels
Sets the specified value to thenumchannels
field. -
defaultfrequency
Sets the specified value to thedefaultfrequency
field. -
format
Sets the specified value to theformat
field. -
decodebuffersize
Sets the specified value to thedecodebuffersize
field. -
initialsubsound
Sets the specified value to theinitialsubsound
field. -
numsubsounds
Sets the specified value to thenumsubsounds
field. -
inclusionlist
Sets the address of the specifiedIntBuffer
to theinclusionlist
field. -
pcmreadcallback
Sets the specified value to thepcmreadcallback
field. -
pcmsetposcallback
public FMOD_CREATESOUNDEXINFO.Buffer pcmsetposcallback(@Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI value) Sets the specified value to thepcmsetposcallback
field. -
nonblockcallback
public FMOD_CREATESOUNDEXINFO.Buffer nonblockcallback(@Nullable FMOD_SOUND_NONBLOCK_CALLBACKI value) Sets the specified value to thenonblockcallback
field. -
dlsname
Sets the address of the specified encoded string to thedlsname
field. -
encryptionkey
Sets the address of the specified encoded string to theencryptionkey
field. -
maxpolyphony
Sets the specified value to themaxpolyphony
field. -
userdata
Sets the specified value to theuserdata
field. -
suggestedsoundtype
Sets the specified value to thesuggestedsoundtype
field. -
fileuseropen
Sets the specified value to thefileuseropen
field. -
fileuserclose
Sets the specified value to thefileuserclose
field. -
fileuserread
Sets the specified value to thefileuserread
field. -
fileuserseek
Sets the specified value to thefileuserseek
field. -
fileuserasyncread
public FMOD_CREATESOUNDEXINFO.Buffer fileuserasyncread(@Nullable FMOD_FILE_ASYNCREAD_CALLBACKI value) Sets the specified value to thefileuserasyncread
field. -
fileuserasynccancel
public FMOD_CREATESOUNDEXINFO.Buffer fileuserasynccancel(@Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value) Sets the specified value to thefileuserasynccancel
field. -
fileuserdata
Sets the specified value to thefileuserdata
field. -
filebuffersize
Sets the specified value to thefilebuffersize
field. -
channelorder
Sets the specified value to thechannelorder
field. -
initialsoundgroup
Sets the specified value to theinitialsoundgroup
field. -
initialseekposition
Sets the specified value to theinitialseekposition
field. -
initialseekpostype
Sets the specified value to theinitialseekpostype
field. -
ignoresetfilesystem
Sets the specified value to theignoresetfilesystem
field. -
audioqueuepolicy
Sets the specified value to theaudioqueuepolicy
field. -
minmidigranularity
Sets the specified value to theminmidigranularity
field. -
nonblockthreadid
Sets the specified value to thenonblockthreadid
field. -
fsbguid
Sets the address of the specifiedFMOD_GUID
to thefsbguid
field.
-