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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintaudioqueuepolicy(int value) Sets the specified value to theaudioqueuepolicyfield.intcbsize()cbsize(int value) Sets the specified value to thecbsizefield.intchannelorder(int value) Sets the specified value to thechannelorderfield.intdecodebuffersize(int value) Sets the specified value to thedecodebuffersizefield.intdefaultfrequency(int value) Sets the specified value to thedefaultfrequencyfield.@Nullable ByteBufferdlsname()dlsname(@Nullable ByteBuffer value) Sets the address of the specified encoded string to thedlsnamefield.@Nullable String@Nullable ByteBufferencryptionkey(@Nullable ByteBuffer value) Sets the address of the specified encoded string to theencryptionkeyfield.@Nullable Stringintfilebuffersize(int value) Sets the specified value to thefilebuffersizefield.intfileoffset(int value) Sets the specified value to thefileoffsetfield.@Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKfileuserasynccancel(@Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value) Sets the specified value to thefileuserasynccancelfield.@Nullable FMOD_FILE_ASYNCREAD_CALLBACKfileuserasyncread(@Nullable FMOD_FILE_ASYNCREAD_CALLBACKI value) Sets the specified value to thefileuserasyncreadfield.@Nullable FMOD_FILE_CLOSE_CALLBACKfileuserclose(@Nullable FMOD_FILE_CLOSE_CALLBACKI value) Sets the specified value to thefileuserclosefield.longfileuserdata(long value) Sets the specified value to thefileuserdatafield.@Nullable FMOD_FILE_OPEN_CALLBACKfileuseropen(@Nullable FMOD_FILE_OPEN_CALLBACKI value) Sets the specified value to thefileuseropenfield.@Nullable FMOD_FILE_READ_CALLBACKfileuserread(@Nullable FMOD_FILE_READ_CALLBACKI value) Sets the specified value to thefileuserreadfield.@Nullable FMOD_FILE_SEEK_CALLBACKfileuserseek(@Nullable FMOD_FILE_SEEK_CALLBACKI value) Sets the specified value to thefileuserseekfield.intformat()format(int value) Sets the specified value to theformatfield.@Nullable FMOD_GUIDfsbguid()Sets the address of the specifiedFMOD_GUIDto thefsbguidfield.intignoresetfilesystem(int value) Sets the specified value to theignoresetfilesystemfield.inclusionlist(IntBuffer value) Sets the address of the specifiedIntBufferto theinclusionlistfield.intintinitialseekposition(int value) Sets the specified value to theinitialseekpositionfield.intinitialseekpostype(int value) Sets the specified value to theinitialseekpostypefield.longinitialsoundgroup(long value) Sets the specified value to theinitialsoundgroupfield.intinitialsubsound(int value) Sets the specified value to theinitialsubsoundfield.intlength()length(int value) Sets the specified value to thelengthfield.intmaxpolyphony(int value) Sets the specified value to themaxpolyphonyfield.intminmidigranularity(int value) Sets the specified value to theminmidigranularityfield.@Nullable FMOD_SOUND_NONBLOCK_CALLBACKnonblockcallback(@Nullable FMOD_SOUND_NONBLOCK_CALLBACKI value) Sets the specified value to thenonblockcallbackfield.intnonblockthreadid(int value) Sets the specified value to thenonblockthreadidfield.intnumchannels(int value) Sets the specified value to thenumchannelsfield.intnumsubsounds(int value) Sets the specified value to thenumsubsoundsfield.@Nullable FMOD_SOUND_PCMREAD_CALLBACKpcmreadcallback(@Nullable FMOD_SOUND_PCMREAD_CALLBACKI value) Sets the specified value to thepcmreadcallbackfield.@Nullable FMOD_SOUND_PCMSETPOS_CALLBACKpcmsetposcallback(@Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI value) Sets the specified value to thepcmsetposcallbackfield.intsuggestedsoundtype(int value) Sets the specified value to thesuggestedsoundtypefield.longuserdata()userdata(long value) Sets the specified value to theuserdatafield.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_CREATESOUNDEXINFO.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_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
cbsizefield.
-
length
public int length()- Returns:
- the value of the
lengthfield.
-
fileoffset
public int fileoffset()- Returns:
- the value of the
fileoffsetfield.
-
numchannels
public int numchannels()- Returns:
- the value of the
numchannelsfield.
-
defaultfrequency
public int defaultfrequency()- Returns:
- the value of the
defaultfrequencyfield.
-
format
public int format()- Returns:
- the value of the
formatfield.
-
decodebuffersize
public int decodebuffersize()- Returns:
- the value of the
decodebuffersizefield.
-
initialsubsound
public int initialsubsound()- Returns:
- the value of the
initialsubsoundfield.
-
numsubsounds
public int numsubsounds()- Returns:
- the value of the
numsubsoundsfield.
-
inclusionlist
- Returns:
- a
IntBufferview of the data pointed to by theinclusionlistfield.
-
inclusionlistnum
public int inclusionlistnum()- Returns:
- the value of the
inclusionlistnumfield.
-
pcmreadcallback
- Returns:
- the value of the
pcmreadcallbackfield.
-
pcmsetposcallback
- Returns:
- the value of the
pcmsetposcallbackfield.
-
nonblockcallback
- Returns:
- the value of the
nonblockcallbackfield.
-
dlsname
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thedlsnamefield.
-
dlsnameString
- Returns:
- the null-terminated string pointed to by the
dlsnamefield.
-
encryptionkey
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theencryptionkeyfield.
-
encryptionkeyString
- Returns:
- the null-terminated string pointed to by the
encryptionkeyfield.
-
maxpolyphony
public int maxpolyphony()- Returns:
- the value of the
maxpolyphonyfield.
-
userdata
public long userdata()- Returns:
- the value of the
userdatafield.
-
suggestedsoundtype
public int suggestedsoundtype()- Returns:
- the value of the
suggestedsoundtypefield.
-
fileuseropen
- Returns:
- the value of the
fileuseropenfield.
-
fileuserclose
- Returns:
- the value of the
fileuserclosefield.
-
fileuserread
- Returns:
- the value of the
fileuserreadfield.
-
fileuserseek
- Returns:
- the value of the
fileuserseekfield.
-
fileuserasyncread
- Returns:
- the value of the
fileuserasyncreadfield.
-
fileuserasynccancel
- Returns:
- the value of the
fileuserasynccancelfield.
-
fileuserdata
public long fileuserdata()- Returns:
- the value of the
fileuserdatafield.
-
filebuffersize
public int filebuffersize()- Returns:
- the value of the
filebuffersizefield.
-
channelorder
public int channelorder()- Returns:
- the value of the
channelorderfield.
-
initialsoundgroup
public long initialsoundgroup()- Returns:
- the value of the
initialsoundgroupfield.
-
initialseekposition
public int initialseekposition()- Returns:
- the value of the
initialseekpositionfield.
-
initialseekpostype
public int initialseekpostype()- Returns:
- the value of the
initialseekpostypefield.
-
ignoresetfilesystem
public int ignoresetfilesystem()- Returns:
- the value of the
ignoresetfilesystemfield.
-
audioqueuepolicy
public int audioqueuepolicy()- Returns:
- the value of the
audioqueuepolicyfield.
-
minmidigranularity
public int minmidigranularity()- Returns:
- the value of the
minmidigranularityfield.
-
nonblockthreadid
public int nonblockthreadid()- Returns:
- the value of the
nonblockthreadidfield.
-
fsbguid
- Returns:
- a
FMOD_GUIDview of the struct pointed to by thefsbguidfield.
-
cbsize
Sets the specified value to thecbsizefield. -
length
Sets the specified value to thelengthfield. -
fileoffset
Sets the specified value to thefileoffsetfield. -
numchannels
Sets the specified value to thenumchannelsfield. -
defaultfrequency
Sets the specified value to thedefaultfrequencyfield. -
format
Sets the specified value to theformatfield. -
decodebuffersize
Sets the specified value to thedecodebuffersizefield. -
initialsubsound
Sets the specified value to theinitialsubsoundfield. -
numsubsounds
Sets the specified value to thenumsubsoundsfield. -
inclusionlist
Sets the address of the specifiedIntBufferto theinclusionlistfield. -
pcmreadcallback
Sets the specified value to thepcmreadcallbackfield. -
pcmsetposcallback
public FMOD_CREATESOUNDEXINFO.Buffer pcmsetposcallback(@Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI value) Sets the specified value to thepcmsetposcallbackfield. -
nonblockcallback
public FMOD_CREATESOUNDEXINFO.Buffer nonblockcallback(@Nullable FMOD_SOUND_NONBLOCK_CALLBACKI value) Sets the specified value to thenonblockcallbackfield. -
dlsname
Sets the address of the specified encoded string to thedlsnamefield. -
encryptionkey
Sets the address of the specified encoded string to theencryptionkeyfield. -
maxpolyphony
Sets the specified value to themaxpolyphonyfield. -
userdata
Sets the specified value to theuserdatafield. -
suggestedsoundtype
Sets the specified value to thesuggestedsoundtypefield. -
fileuseropen
Sets the specified value to thefileuseropenfield. -
fileuserclose
Sets the specified value to thefileuserclosefield. -
fileuserread
Sets the specified value to thefileuserreadfield. -
fileuserseek
Sets the specified value to thefileuserseekfield. -
fileuserasyncread
public FMOD_CREATESOUNDEXINFO.Buffer fileuserasyncread(@Nullable FMOD_FILE_ASYNCREAD_CALLBACKI value) Sets the specified value to thefileuserasyncreadfield. -
fileuserasynccancel
public FMOD_CREATESOUNDEXINFO.Buffer fileuserasynccancel(@Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value) Sets the specified value to thefileuserasynccancelfield. -
fileuserdata
Sets the specified value to thefileuserdatafield. -
filebuffersize
Sets the specified value to thefilebuffersizefield. -
channelorder
Sets the specified value to thechannelorderfield. -
initialsoundgroup
Sets the specified value to theinitialsoundgroupfield. -
initialseekposition
Sets the specified value to theinitialseekpositionfield. -
initialseekpostype
Sets the specified value to theinitialseekpostypefield. -
ignoresetfilesystem
Sets the specified value to theignoresetfilesystemfield. -
audioqueuepolicy
Sets the specified value to theaudioqueuepolicyfield. -
minmidigranularity
Sets the specified value to theminmidigranularityfield. -
nonblockthreadid
Sets the specified value to thenonblockthreadidfield. -
fsbguid
Sets the address of the specifiedFMOD_GUIDto thefsbguidfield.
-