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;
FMOD_SOUND_PCMREAD_CALLBACK pcmreadcallback;
FMOD_SOUND_PCMSETPOS_CALLBACK pcmsetposcallback;
FMOD_SOUND_NONBLOCK_CALLBACK nonblockcallback;
char const * dlsname;
char const * encryptionkey;
int maxpolyphony;
void * userdata;
FMOD_SOUND_TYPE suggestedsoundtype;
FMOD_FILE_OPEN_CALLBACK fileuseropen;
FMOD_FILE_CLOSE_CALLBACK fileuserclose;
FMOD_FILE_READ_CALLBACK fileuserread;
FMOD_FILE_SEEK_CALLBACK fileuserseek;
FMOD_FILE_ASYNCREAD_CALLBACK fileuserasyncread;
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;
FMOD_GUID * fsbguid;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe 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_CREATESOUNDEXINFOinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintaudioqueuepolicy(int value) Sets the specified value to theaudioqueuepolicyfield.static FMOD_CREATESOUNDEXINFOcalloc()Returns a newFMOD_CREATESOUNDEXINFOinstance allocated withmemCalloc.calloc(int capacity) Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static FMOD_CREATESOUNDEXINFOcalloc(MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFOinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intcbsize()cbsize(int value) Sets the specified value to thecbsizefield.intchannelorder(int value) Sets the specified value to thechannelorderfield.static FMOD_CREATESOUNDEXINFOcreate()Returns a newFMOD_CREATESOUNDEXINFOinstance allocated withBufferUtils.create(int capacity) Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated withBufferUtils.static FMOD_CREATESOUNDEXINFOcreate(long address) Returns a newFMOD_CREATESOUNDEXINFOinstance for the specified memory address.create(long address, int capacity) Create aFMOD_CREATESOUNDEXINFO.Bufferinstance at the specified memory.static @Nullable FMOD_CREATESOUNDEXINFOcreateSafe(long address) static @Nullable FMOD_CREATESOUNDEXINFO.BuffercreateSafe(long address, int capacity) 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.static FMOD_CREATESOUNDEXINFOmalloc()Returns a newFMOD_CREATESOUNDEXINFOinstance allocated withmemAlloc.malloc(int capacity) Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated on the specifiedMemoryStack.static FMOD_CREATESOUNDEXINFOmalloc(MemoryStack stack) Returns a newFMOD_CREATESOUNDEXINFOinstance allocated on the specifiedMemoryStack.intmaxpolyphony(int value) Sets the specified value to themaxpolyphonyfield.intminmidigranularity(int value) Sets the specified value to theminmidigranularityfield.static intnaudioqueuepolicy(long struct) Unsafe version ofaudioqueuepolicy().static voidnaudioqueuepolicy(long struct, int value) Unsafe version ofaudioqueuepolicy.static intncbsize(long struct) Unsafe version ofcbsize().static voidncbsize(long struct, int value) Unsafe version ofcbsize.static intnchannelorder(long struct) Unsafe version ofchannelorder().static voidnchannelorder(long struct, int value) Unsafe version ofchannelorder.static intndecodebuffersize(long struct) Unsafe version ofdecodebuffersize().static voidndecodebuffersize(long struct, int value) Unsafe version ofdecodebuffersize.static intndefaultfrequency(long struct) Unsafe version ofdefaultfrequency().static voidndefaultfrequency(long struct, int value) Unsafe version ofdefaultfrequency.static @Nullable ByteBufferndlsname(long struct) Unsafe version ofdlsname().static voidndlsname(long struct, @Nullable ByteBuffer value) Unsafe version ofdlsname.static @Nullable StringndlsnameString(long struct) Unsafe version ofdlsnameString().static @Nullable ByteBuffernencryptionkey(long struct) Unsafe version ofencryptionkey().static voidnencryptionkey(long struct, @Nullable ByteBuffer value) Unsafe version ofencryptionkey.static @Nullable StringnencryptionkeyString(long struct) Unsafe version ofencryptionkeyString().static intnfilebuffersize(long struct) Unsafe version offilebuffersize().static voidnfilebuffersize(long struct, int value) Unsafe version offilebuffersize.static intnfileoffset(long struct) Unsafe version offileoffset().static voidnfileoffset(long struct, int value) Unsafe version offileoffset.static @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKnfileuserasynccancel(long struct) Unsafe version offileuserasynccancel().static voidnfileuserasynccancel(long struct, @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value) Unsafe version offileuserasynccancel.static @Nullable FMOD_FILE_ASYNCREAD_CALLBACKnfileuserasyncread(long struct) Unsafe version offileuserasyncread().static voidnfileuserasyncread(long struct, @Nullable FMOD_FILE_ASYNCREAD_CALLBACKI value) Unsafe version offileuserasyncread.static @Nullable FMOD_FILE_CLOSE_CALLBACKnfileuserclose(long struct) Unsafe version offileuserclose().static voidnfileuserclose(long struct, @Nullable FMOD_FILE_CLOSE_CALLBACKI value) Unsafe version offileuserclose.static longnfileuserdata(long struct) Unsafe version offileuserdata().static voidnfileuserdata(long struct, long value) Unsafe version offileuserdata.static @Nullable FMOD_FILE_OPEN_CALLBACKnfileuseropen(long struct) Unsafe version offileuseropen().static voidnfileuseropen(long struct, @Nullable FMOD_FILE_OPEN_CALLBACKI value) Unsafe version offileuseropen.static @Nullable FMOD_FILE_READ_CALLBACKnfileuserread(long struct) Unsafe version offileuserread().static voidnfileuserread(long struct, @Nullable FMOD_FILE_READ_CALLBACKI value) Unsafe version offileuserread.static @Nullable FMOD_FILE_SEEK_CALLBACKnfileuserseek(long struct) Unsafe version offileuserseek().static voidnfileuserseek(long struct, @Nullable FMOD_FILE_SEEK_CALLBACKI value) Unsafe version offileuserseek.static intnformat(long struct) Unsafe version offormat().static voidnformat(long struct, int value) Unsafe version offormat.static @Nullable FMOD_GUIDnfsbguid(long struct) Unsafe version offsbguid().static voidUnsafe version offsbguid.static intnignoresetfilesystem(long struct) Unsafe version ofignoresetfilesystem().static voidnignoresetfilesystem(long struct, int value) Unsafe version ofignoresetfilesystem.static IntBufferninclusionlist(long struct) Unsafe version ofinclusionlist.static voidninclusionlist(long struct, IntBuffer value) Unsafe version ofinclusionlist.static intninclusionlistnum(long struct) Unsafe version ofinclusionlistnum().static voidninclusionlistnum(long struct, int value) Sets the specified value to theinclusionlistnumfield of the specifiedstruct.static intninitialseekposition(long struct) Unsafe version ofinitialseekposition().static voidninitialseekposition(long struct, int value) Unsafe version ofinitialseekposition.static intninitialseekpostype(long struct) Unsafe version ofinitialseekpostype().static voidninitialseekpostype(long struct, int value) Unsafe version ofinitialseekpostype.static longninitialsoundgroup(long struct) Unsafe version ofinitialsoundgroup().static voidninitialsoundgroup(long struct, long value) Unsafe version ofinitialsoundgroup.static intninitialsubsound(long struct) Unsafe version ofinitialsubsound().static voidninitialsubsound(long struct, int value) Unsafe version ofinitialsubsound.static intnlength(long struct) Unsafe version oflength().static voidnlength(long struct, int value) Unsafe version oflength.static intnmaxpolyphony(long struct) Unsafe version ofmaxpolyphony().static voidnmaxpolyphony(long struct, int value) Unsafe version ofmaxpolyphony.static intnminmidigranularity(long struct) Unsafe version ofminmidigranularity().static voidnminmidigranularity(long struct, int value) Unsafe version ofminmidigranularity.static @Nullable FMOD_SOUND_NONBLOCK_CALLBACKnnonblockcallback(long struct) Unsafe version ofnonblockcallback().static voidnnonblockcallback(long struct, @Nullable FMOD_SOUND_NONBLOCK_CALLBACKI value) Unsafe version ofnonblockcallback.static intnnonblockthreadid(long struct) Unsafe version ofnonblockthreadid().static voidnnonblockthreadid(long struct, int value) Unsafe version ofnonblockthreadid.static intnnumchannels(long struct) Unsafe version ofnumchannels().static voidnnumchannels(long struct, int value) Unsafe version ofnumchannels.static intnnumsubsounds(long struct) Unsafe version ofnumsubsounds().static voidnnumsubsounds(long struct, int value) Unsafe version ofnumsubsounds.@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.static @Nullable FMOD_SOUND_PCMREAD_CALLBACKnpcmreadcallback(long struct) Unsafe version ofpcmreadcallback().static voidnpcmreadcallback(long struct, @Nullable FMOD_SOUND_PCMREAD_CALLBACKI value) Unsafe version ofpcmreadcallback.static @Nullable FMOD_SOUND_PCMSETPOS_CALLBACKnpcmsetposcallback(long struct) Unsafe version ofpcmsetposcallback().static voidnpcmsetposcallback(long struct, @Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI value) Unsafe version ofpcmsetposcallback.static intnsuggestedsoundtype(long struct) Unsafe version ofsuggestedsoundtype().static voidnsuggestedsoundtype(long struct, int value) Unsafe version ofsuggestedsoundtype.intnumchannels(int value) Sets the specified value to thenumchannelsfield.intnumsubsounds(int value) Sets the specified value to thenumsubsoundsfield.static longnuserdata(long struct) Unsafe version ofuserdata().static voidnuserdata(long struct, long value) Unsafe version ofuserdata.@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.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.intsizeof()Returnssizeof(struct).intsuggestedsoundtype(int value) Sets the specified value to thesuggestedsoundtypefield.longuserdata()userdata(long value) Sets the specified value to theuserdatafield.static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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_CREATESOUNDEXINFOinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<FMOD_CREATESOUNDEXINFO>
-
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
Sets the specified value to thepcmsetposcallbackfield. -
nonblockcallback
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
Sets the specified value to thefileuserasyncreadfield. -
fileuserasynccancel
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. -
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_CREATESOUNDEXINFOinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newFMOD_CREATESOUNDEXINFOinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newFMOD_CREATESOUNDEXINFOinstance allocated withBufferUtils. -
create
Returns a newFMOD_CREATESOUNDEXINFOinstance for the specified memory address. -
createSafe
-
malloc
Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aFMOD_CREATESOUNDEXINFO.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newFMOD_CREATESOUNDEXINFOinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newFMOD_CREATESOUNDEXINFOinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newFMOD_CREATESOUNDEXINFO.Bufferinstance allocated on the specifiedMemoryStackand 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 theinclusionlistnumfield 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
-