Package org.lwjgl.fmod
Class FMOD_CREATESOUNDEXINFO
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class FMOD_CREATESOUNDEXINFO
extends Struct<FMOD_CREATESOUNDEXINFO>
implements NativeResource
struct FMOD_CREATESOUNDEXINFO {
int cbsize;
unsigned int length;
unsigned int fileoffset;
int numchannels;
int defaultfrequency;
FMOD_SOUND_FORMAT format;
unsigned int decodebuffersize;
int initialsubsound;
int numsubsounds;
int * inclusionlist;
int inclusionlistnum;
{@link FMOD_SOUND_PCMREAD_CALLBACKI FMOD_SOUND_PCMREAD_CALLBACK} pcmreadcallback;
{@link FMOD_SOUND_PCMSETPOS_CALLBACKI FMOD_SOUND_PCMSETPOS_CALLBACK} pcmsetposcallback;
{@link FMOD_SOUND_NONBLOCK_CALLBACKI FMOD_SOUND_NONBLOCK_CALLBACK} nonblockcallback;
char const * dlsname;
char const * encryptionkey;
int maxpolyphony;
void * userdata;
FMOD_SOUND_TYPE suggestedsoundtype;
{@link FMOD_FILE_OPEN_CALLBACKI FMOD_FILE_OPEN_CALLBACK} fileuseropen;
{@link FMOD_FILE_CLOSE_CALLBACKI FMOD_FILE_CLOSE_CALLBACK} fileuserclose;
{@link FMOD_FILE_READ_CALLBACKI FMOD_FILE_READ_CALLBACK} fileuserread;
{@link FMOD_FILE_SEEK_CALLBACKI FMOD_FILE_SEEK_CALLBACK} fileuserseek;
{@link FMOD_FILE_ASYNCREAD_CALLBACKI FMOD_FILE_ASYNCREAD_CALLBACK} fileuserasyncread;
{@link FMOD_FILE_ASYNCCANCEL_CALLBACKI FMOD_FILE_ASYNCCANCEL_CALLBACK} fileuserasynccancel;
void * fileuserdata;
int filebuffersize;
FMOD_CHANNELORDER channelorder;
FMOD_SOUNDGROUP * initialsoundgroup;
unsigned int initialseekposition;
FMOD_TIMEUNIT initialseekpostype;
int ignoresetfilesystem;
unsigned int audioqueuepolicy;
unsigned int minmidigranularity;
int nonblockthreadid;
{@link FMOD_GUID FMOD_GUID} * fsbguid;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionFMOD_CREATESOUNDEXINFO
(ByteBuffer container) Creates aFMOD_CREATESOUNDEXINFO
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
audioqueuepolicy
(int value) Sets the specified value to theaudioqueuepolicy
field.static FMOD_CREATESOUNDEXINFO
calloc()
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static FMOD_CREATESOUNDEXINFO
calloc
(MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFO
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
cbsize()
cbsize
(int value) Sets the specified value to thecbsize
field.int
channelorder
(int value) Sets the specified value to thechannelorder
field.static FMOD_CREATESOUNDEXINFO
create()
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated withBufferUtils
.create
(int capacity) Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated withBufferUtils
.static FMOD_CREATESOUNDEXINFO
create
(long address) Returns a newFMOD_CREATESOUNDEXINFO
instance for the specified memory address.create
(long address, int capacity) Create aFMOD_CREATESOUNDEXINFO.Buffer
instance at the specified memory.static @Nullable FMOD_CREATESOUNDEXINFO
createSafe
(long address) static @Nullable FMOD_CREATESOUNDEXINFO.Buffer
createSafe
(long address, int capacity) 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.static FMOD_CREATESOUNDEXINFO
malloc()
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated on the specifiedMemoryStack
.static FMOD_CREATESOUNDEXINFO
malloc
(MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFO
instance allocated on the specifiedMemoryStack
.int
maxpolyphony
(int value) Sets the specified value to themaxpolyphony
field.int
minmidigranularity
(int value) Sets the specified value to theminmidigranularity
field.static int
naudioqueuepolicy
(long struct) Unsafe version ofaudioqueuepolicy()
.static void
naudioqueuepolicy
(long struct, int value) Unsafe version ofaudioqueuepolicy
.static int
ncbsize
(long struct) Unsafe version ofcbsize()
.static void
ncbsize
(long struct, int value) Unsafe version ofcbsize
.static int
nchannelorder
(long struct) Unsafe version ofchannelorder()
.static void
nchannelorder
(long struct, int value) Unsafe version ofchannelorder
.static int
ndecodebuffersize
(long struct) Unsafe version ofdecodebuffersize()
.static void
ndecodebuffersize
(long struct, int value) Unsafe version ofdecodebuffersize
.static int
ndefaultfrequency
(long struct) Unsafe version ofdefaultfrequency()
.static void
ndefaultfrequency
(long struct, int value) Unsafe version ofdefaultfrequency
.static @Nullable ByteBuffer
ndlsname
(long struct) Unsafe version ofdlsname()
.static void
ndlsname
(long struct, @Nullable ByteBuffer value) Unsafe version ofdlsname
.static @Nullable String
ndlsnameString
(long struct) Unsafe version ofdlsnameString()
.static @Nullable ByteBuffer
nencryptionkey
(long struct) Unsafe version ofencryptionkey()
.static void
nencryptionkey
(long struct, @Nullable ByteBuffer value) Unsafe version ofencryptionkey
.static @Nullable String
nencryptionkeyString
(long struct) Unsafe version ofencryptionkeyString()
.static int
nfilebuffersize
(long struct) Unsafe version offilebuffersize()
.static void
nfilebuffersize
(long struct, int value) Unsafe version offilebuffersize
.static int
nfileoffset
(long struct) Unsafe version offileoffset()
.static void
nfileoffset
(long struct, int value) Unsafe version offileoffset
.static @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACK
nfileuserasynccancel
(long struct) Unsafe version offileuserasynccancel()
.static void
nfileuserasynccancel
(long struct, @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value) Unsafe version offileuserasynccancel
.static @Nullable FMOD_FILE_ASYNCREAD_CALLBACK
nfileuserasyncread
(long struct) Unsafe version offileuserasyncread()
.static void
nfileuserasyncread
(long struct, @Nullable FMOD_FILE_ASYNCREAD_CALLBACKI value) Unsafe version offileuserasyncread
.static @Nullable FMOD_FILE_CLOSE_CALLBACK
nfileuserclose
(long struct) Unsafe version offileuserclose()
.static void
nfileuserclose
(long struct, @Nullable FMOD_FILE_CLOSE_CALLBACKI value) Unsafe version offileuserclose
.static long
nfileuserdata
(long struct) Unsafe version offileuserdata()
.static void
nfileuserdata
(long struct, long value) Unsafe version offileuserdata
.static @Nullable FMOD_FILE_OPEN_CALLBACK
nfileuseropen
(long struct) Unsafe version offileuseropen()
.static void
nfileuseropen
(long struct, @Nullable FMOD_FILE_OPEN_CALLBACKI value) Unsafe version offileuseropen
.static @Nullable FMOD_FILE_READ_CALLBACK
nfileuserread
(long struct) Unsafe version offileuserread()
.static void
nfileuserread
(long struct, @Nullable FMOD_FILE_READ_CALLBACKI value) Unsafe version offileuserread
.static @Nullable FMOD_FILE_SEEK_CALLBACK
nfileuserseek
(long struct) Unsafe version offileuserseek()
.static void
nfileuserseek
(long struct, @Nullable FMOD_FILE_SEEK_CALLBACKI value) Unsafe version offileuserseek
.static int
nformat
(long struct) Unsafe version offormat()
.static void
nformat
(long struct, int value) Unsafe version offormat
.static @Nullable FMOD_GUID
nfsbguid
(long struct) Unsafe version offsbguid()
.static void
Unsafe version offsbguid
.static int
nignoresetfilesystem
(long struct) Unsafe version ofignoresetfilesystem()
.static void
nignoresetfilesystem
(long struct, int value) Unsafe version ofignoresetfilesystem
.static IntBuffer
ninclusionlist
(long struct) Unsafe version ofinclusionlist
.static void
ninclusionlist
(long struct, IntBuffer value) Unsafe version ofinclusionlist
.static int
ninclusionlistnum
(long struct) Unsafe version ofinclusionlistnum()
.static void
ninclusionlistnum
(long struct, int value) Sets the specified value to theinclusionlistnum
field of the specifiedstruct
.static int
ninitialseekposition
(long struct) Unsafe version ofinitialseekposition()
.static void
ninitialseekposition
(long struct, int value) Unsafe version ofinitialseekposition
.static int
ninitialseekpostype
(long struct) Unsafe version ofinitialseekpostype()
.static void
ninitialseekpostype
(long struct, int value) Unsafe version ofinitialseekpostype
.static long
ninitialsoundgroup
(long struct) Unsafe version ofinitialsoundgroup()
.static void
ninitialsoundgroup
(long struct, long value) Unsafe version ofinitialsoundgroup
.static int
ninitialsubsound
(long struct) Unsafe version ofinitialsubsound()
.static void
ninitialsubsound
(long struct, int value) Unsafe version ofinitialsubsound
.static int
nlength
(long struct) Unsafe version oflength()
.static void
nlength
(long struct, int value) Unsafe version oflength
.static int
nmaxpolyphony
(long struct) Unsafe version ofmaxpolyphony()
.static void
nmaxpolyphony
(long struct, int value) Unsafe version ofmaxpolyphony
.static int
nminmidigranularity
(long struct) Unsafe version ofminmidigranularity()
.static void
nminmidigranularity
(long struct, int value) Unsafe version ofminmidigranularity
.static @Nullable FMOD_SOUND_NONBLOCK_CALLBACK
nnonblockcallback
(long struct) Unsafe version ofnonblockcallback()
.static void
nnonblockcallback
(long struct, @Nullable FMOD_SOUND_NONBLOCK_CALLBACKI value) Unsafe version ofnonblockcallback
.static int
nnonblockthreadid
(long struct) Unsafe version ofnonblockthreadid()
.static void
nnonblockthreadid
(long struct, int value) Unsafe version ofnonblockthreadid
.static int
nnumchannels
(long struct) Unsafe version ofnumchannels()
.static void
nnumchannels
(long struct, int value) Unsafe version ofnumchannels
.static int
nnumsubsounds
(long struct) Unsafe version ofnumsubsounds()
.static void
nnumsubsounds
(long struct, int value) Unsafe version ofnumsubsounds
.@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.static @Nullable FMOD_SOUND_PCMREAD_CALLBACK
npcmreadcallback
(long struct) Unsafe version ofpcmreadcallback()
.static void
npcmreadcallback
(long struct, @Nullable FMOD_SOUND_PCMREAD_CALLBACKI value) Unsafe version ofpcmreadcallback
.static @Nullable FMOD_SOUND_PCMSETPOS_CALLBACK
npcmsetposcallback
(long struct) Unsafe version ofpcmsetposcallback()
.static void
npcmsetposcallback
(long struct, @Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI value) Unsafe version ofpcmsetposcallback
.static int
nsuggestedsoundtype
(long struct) Unsafe version ofsuggestedsoundtype()
.static void
nsuggestedsoundtype
(long struct, int value) Unsafe version ofsuggestedsoundtype
.int
numchannels
(int value) Sets the specified value to thenumchannels
field.int
numsubsounds
(int value) Sets the specified value to thenumsubsounds
field.static long
nuserdata
(long struct) Unsafe version ofuserdata()
.static void
nuserdata
(long struct, long value) Unsafe version ofuserdata
.@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.set
(int cbsize, int length, int fileoffset, int numchannels, int defaultfrequency, int format, int decodebuffersize, int initialsubsound, int numsubsounds, IntBuffer inclusionlist, @Nullable FMOD_SOUND_PCMREAD_CALLBACKI pcmreadcallback, @Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI pcmsetposcallback, @Nullable FMOD_SOUND_NONBLOCK_CALLBACKI nonblockcallback, @Nullable ByteBuffer dlsname, @Nullable ByteBuffer encryptionkey, int maxpolyphony, long userdata, int suggestedsoundtype, @Nullable FMOD_FILE_OPEN_CALLBACKI fileuseropen, @Nullable FMOD_FILE_CLOSE_CALLBACKI fileuserclose, @Nullable FMOD_FILE_READ_CALLBACKI fileuserread, @Nullable FMOD_FILE_SEEK_CALLBACKI fileuserseek, @Nullable FMOD_FILE_ASYNCREAD_CALLBACKI fileuserasyncread, @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI fileuserasynccancel, long fileuserdata, int filebuffersize, int channelorder, long initialsoundgroup, int initialseekposition, int initialseekpostype, int ignoresetfilesystem, int audioqueuepolicy, int minmidigranularity, int nonblockthreadid, @Nullable FMOD_GUID fsbguid) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
suggestedsoundtype
(int value) Sets the specified value to thesuggestedsoundtype
field.long
userdata()
userdata
(long value) Sets the specified value to theuserdata
field.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
CBSIZE
public static final int CBSIZEThe struct member offsets. -
LENGTH
public static final int LENGTHThe struct member offsets. -
FILEOFFSET
public static final int FILEOFFSETThe struct member offsets. -
NUMCHANNELS
public static final int NUMCHANNELSThe struct member offsets. -
DEFAULTFREQUENCY
public static final int DEFAULTFREQUENCYThe struct member offsets. -
FORMAT
public static final int FORMATThe struct member offsets. -
DECODEBUFFERSIZE
public static final int DECODEBUFFERSIZEThe struct member offsets. -
INITIALSUBSOUND
public static final int INITIALSUBSOUNDThe struct member offsets. -
NUMSUBSOUNDS
public static final int NUMSUBSOUNDSThe struct member offsets. -
INCLUSIONLIST
public static final int INCLUSIONLISTThe struct member offsets. -
INCLUSIONLISTNUM
public static final int INCLUSIONLISTNUMThe struct member offsets. -
PCMREADCALLBACK
public static final int PCMREADCALLBACKThe struct member offsets. -
PCMSETPOSCALLBACK
public static final int PCMSETPOSCALLBACKThe struct member offsets. -
NONBLOCKCALLBACK
public static final int NONBLOCKCALLBACKThe struct member offsets. -
DLSNAME
public static final int DLSNAMEThe struct member offsets. -
ENCRYPTIONKEY
public static final int ENCRYPTIONKEYThe struct member offsets. -
MAXPOLYPHONY
public static final int MAXPOLYPHONYThe struct member offsets. -
USERDATA
public static final int USERDATAThe struct member offsets. -
SUGGESTEDSOUNDTYPE
public static final int SUGGESTEDSOUNDTYPEThe struct member offsets. -
FILEUSEROPEN
public static final int FILEUSEROPENThe struct member offsets. -
FILEUSERCLOSE
public static final int FILEUSERCLOSEThe struct member offsets. -
FILEUSERREAD
public static final int FILEUSERREADThe struct member offsets. -
FILEUSERSEEK
public static final int FILEUSERSEEKThe struct member offsets. -
FILEUSERASYNCREAD
public static final int FILEUSERASYNCREADThe struct member offsets. -
FILEUSERASYNCCANCEL
public static final int FILEUSERASYNCCANCELThe struct member offsets. -
FILEUSERDATA
public static final int FILEUSERDATAThe struct member offsets. -
FILEBUFFERSIZE
public static final int FILEBUFFERSIZEThe struct member offsets. -
CHANNELORDER
public static final int CHANNELORDERThe struct member offsets. -
INITIALSOUNDGROUP
public static final int INITIALSOUNDGROUPThe struct member offsets. -
INITIALSEEKPOSITION
public static final int INITIALSEEKPOSITIONThe struct member offsets. -
INITIALSEEKPOSTYPE
public static final int INITIALSEEKPOSTYPEThe struct member offsets. -
IGNORESETFILESYSTEM
public static final int IGNORESETFILESYSTEMThe struct member offsets. -
AUDIOQUEUEPOLICY
public static final int AUDIOQUEUEPOLICYThe struct member offsets. -
MINMIDIGRANULARITY
public static final int MINMIDIGRANULARITYThe struct member offsets. -
NONBLOCKTHREADID
public static final int NONBLOCKTHREADIDThe struct member offsets. -
FSBGUID
public static final int FSBGUIDThe struct member offsets.
-
-
Constructor Details
-
FMOD_CREATESOUNDEXINFO
Creates aFMOD_CREATESOUNDEXINFO
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<FMOD_CREATESOUNDEXINFO>
-
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
Sets the specified value to thepcmsetposcallback
field. -
nonblockcallback
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
Sets the specified value to thefileuserasyncread
field. -
fileuserasynccancel
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. -
set
public FMOD_CREATESOUNDEXINFO set(int cbsize, int length, int fileoffset, int numchannels, int defaultfrequency, int format, int decodebuffersize, int initialsubsound, int numsubsounds, IntBuffer inclusionlist, @Nullable FMOD_SOUND_PCMREAD_CALLBACKI pcmreadcallback, @Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI pcmsetposcallback, @Nullable FMOD_SOUND_NONBLOCK_CALLBACKI nonblockcallback, @Nullable ByteBuffer dlsname, @Nullable ByteBuffer encryptionkey, int maxpolyphony, long userdata, int suggestedsoundtype, @Nullable FMOD_FILE_OPEN_CALLBACKI fileuseropen, @Nullable FMOD_FILE_CLOSE_CALLBACKI fileuserclose, @Nullable FMOD_FILE_READ_CALLBACKI fileuserread, @Nullable FMOD_FILE_SEEK_CALLBACKI fileuserseek, @Nullable FMOD_FILE_ASYNCREAD_CALLBACKI fileuserasyncread, @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI fileuserasynccancel, long fileuserdata, int filebuffersize, int channelorder, long initialsoundgroup, int initialseekposition, int initialseekpostype, int ignoresetfilesystem, int audioqueuepolicy, int minmidigranularity, int nonblockthreadid, @Nullable FMOD_GUID fsbguid) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated withBufferUtils
. -
create
Returns a newFMOD_CREATESOUNDEXINFO
instance for the specified memory address. -
createSafe
-
malloc
Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aFMOD_CREATESOUNDEXINFO.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newFMOD_CREATESOUNDEXINFO
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newFMOD_CREATESOUNDEXINFO.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
ncbsize
public static int ncbsize(long struct) Unsafe version ofcbsize()
. -
nlength
public static int nlength(long struct) Unsafe version oflength()
. -
nfileoffset
public static int nfileoffset(long struct) Unsafe version offileoffset()
. -
nnumchannels
public static int nnumchannels(long struct) Unsafe version ofnumchannels()
. -
ndefaultfrequency
public static int ndefaultfrequency(long struct) Unsafe version ofdefaultfrequency()
. -
nformat
public static int nformat(long struct) Unsafe version offormat()
. -
ndecodebuffersize
public static int ndecodebuffersize(long struct) Unsafe version ofdecodebuffersize()
. -
ninitialsubsound
public static int ninitialsubsound(long struct) Unsafe version ofinitialsubsound()
. -
nnumsubsounds
public static int nnumsubsounds(long struct) Unsafe version ofnumsubsounds()
. -
ninclusionlist
Unsafe version ofinclusionlist
. -
ninclusionlistnum
public static int ninclusionlistnum(long struct) Unsafe version ofinclusionlistnum()
. -
npcmreadcallback
Unsafe version ofpcmreadcallback()
. -
npcmsetposcallback
Unsafe version ofpcmsetposcallback()
. -
nnonblockcallback
Unsafe version ofnonblockcallback()
. -
ndlsname
Unsafe version ofdlsname()
. -
ndlsnameString
Unsafe version ofdlsnameString()
. -
nencryptionkey
Unsafe version ofencryptionkey()
. -
nencryptionkeyString
Unsafe version ofencryptionkeyString()
. -
nmaxpolyphony
public static int nmaxpolyphony(long struct) Unsafe version ofmaxpolyphony()
. -
nuserdata
public static long nuserdata(long struct) Unsafe version ofuserdata()
. -
nsuggestedsoundtype
public static int nsuggestedsoundtype(long struct) Unsafe version ofsuggestedsoundtype()
. -
nfileuseropen
Unsafe version offileuseropen()
. -
nfileuserclose
Unsafe version offileuserclose()
. -
nfileuserread
Unsafe version offileuserread()
. -
nfileuserseek
Unsafe version offileuserseek()
. -
nfileuserasyncread
Unsafe version offileuserasyncread()
. -
nfileuserasynccancel
Unsafe version offileuserasynccancel()
. -
nfileuserdata
public static long nfileuserdata(long struct) Unsafe version offileuserdata()
. -
nfilebuffersize
public static int nfilebuffersize(long struct) Unsafe version offilebuffersize()
. -
nchannelorder
public static int nchannelorder(long struct) Unsafe version ofchannelorder()
. -
ninitialsoundgroup
public static long ninitialsoundgroup(long struct) Unsafe version ofinitialsoundgroup()
. -
ninitialseekposition
public static int ninitialseekposition(long struct) Unsafe version ofinitialseekposition()
. -
ninitialseekpostype
public static int ninitialseekpostype(long struct) Unsafe version ofinitialseekpostype()
. -
nignoresetfilesystem
public static int nignoresetfilesystem(long struct) Unsafe version ofignoresetfilesystem()
. -
naudioqueuepolicy
public static int naudioqueuepolicy(long struct) Unsafe version ofaudioqueuepolicy()
. -
nminmidigranularity
public static int nminmidigranularity(long struct) Unsafe version ofminmidigranularity()
. -
nnonblockthreadid
public static int nnonblockthreadid(long struct) Unsafe version ofnonblockthreadid()
. -
nfsbguid
Unsafe version offsbguid()
. -
ncbsize
public static void ncbsize(long struct, int value) Unsafe version ofcbsize
. -
nlength
public static void nlength(long struct, int value) Unsafe version oflength
. -
nfileoffset
public static void nfileoffset(long struct, int value) Unsafe version offileoffset
. -
nnumchannels
public static void nnumchannels(long struct, int value) Unsafe version ofnumchannels
. -
ndefaultfrequency
public static void ndefaultfrequency(long struct, int value) Unsafe version ofdefaultfrequency
. -
nformat
public static void nformat(long struct, int value) Unsafe version offormat
. -
ndecodebuffersize
public static void ndecodebuffersize(long struct, int value) Unsafe version ofdecodebuffersize
. -
ninitialsubsound
public static void ninitialsubsound(long struct, int value) Unsafe version ofinitialsubsound
. -
nnumsubsounds
public static void nnumsubsounds(long struct, int value) Unsafe version ofnumsubsounds
. -
ninclusionlist
Unsafe version ofinclusionlist
. -
ninclusionlistnum
public static void ninclusionlistnum(long struct, int value) Sets the specified value to theinclusionlistnum
field of the specifiedstruct
. -
npcmreadcallback
Unsafe version ofpcmreadcallback
. -
npcmsetposcallback
Unsafe version ofpcmsetposcallback
. -
nnonblockcallback
Unsafe version ofnonblockcallback
. -
ndlsname
Unsafe version ofdlsname
. -
nencryptionkey
Unsafe version ofencryptionkey
. -
nmaxpolyphony
public static void nmaxpolyphony(long struct, int value) Unsafe version ofmaxpolyphony
. -
nuserdata
public static void nuserdata(long struct, long value) Unsafe version ofuserdata
. -
nsuggestedsoundtype
public static void nsuggestedsoundtype(long struct, int value) Unsafe version ofsuggestedsoundtype
. -
nfileuseropen
Unsafe version offileuseropen
. -
nfileuserclose
Unsafe version offileuserclose
. -
nfileuserread
Unsafe version offileuserread
. -
nfileuserseek
Unsafe version offileuserseek
. -
nfileuserasyncread
Unsafe version offileuserasyncread
. -
nfileuserasynccancel
public static void nfileuserasynccancel(long struct, @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value) Unsafe version offileuserasynccancel
. -
nfileuserdata
public static void nfileuserdata(long struct, long value) Unsafe version offileuserdata
. -
nfilebuffersize
public static void nfilebuffersize(long struct, int value) Unsafe version offilebuffersize
. -
nchannelorder
public static void nchannelorder(long struct, int value) Unsafe version ofchannelorder
. -
ninitialsoundgroup
public static void ninitialsoundgroup(long struct, long value) Unsafe version ofinitialsoundgroup
. -
ninitialseekposition
public static void ninitialseekposition(long struct, int value) Unsafe version ofinitialseekposition
. -
ninitialseekpostype
public static void ninitialseekpostype(long struct, int value) Unsafe version ofinitialseekpostype
. -
nignoresetfilesystem
public static void nignoresetfilesystem(long struct, int value) Unsafe version ofignoresetfilesystem
. -
naudioqueuepolicy
public static void naudioqueuepolicy(long struct, int value) Unsafe version ofaudioqueuepolicy
. -
nminmidigranularity
public static void nminmidigranularity(long struct, int value) Unsafe version ofminmidigranularity
. -
nnonblockthreadid
public static void nnonblockthreadid(long struct, int value) Unsafe version ofnonblockthreadid
. -
nfsbguid
Unsafe version offsbguid
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-