Package org.lwjgl.fmod
Class FSBank
java.lang.Object
org.lwjgl.fmod.FSBank
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded from the FSBANKSharedLibrary
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
FSBank_Build
(FSBANK_SUBSOUND subSounds, int numSubSounds, int encodeFormat, int buildFlags, int quality, @Nullable CharSequence encryptKey, @Nullable CharSequence outputFileName) FSBANK_RESULT FSBank_Build(FSBANK_SUBSOUND const * subSounds, unsigned int numSubSounds, FSBANK_FORMAT encodeFormat, FSBANK_BUILDFLAGS buildFlags, unsigned int quality, char const * encryptKey, char const * outputFileName)
static int
FSBank_Build
(FSBANK_SUBSOUND subSounds, int numSubSounds, int encodeFormat, int buildFlags, int quality, @Nullable ByteBuffer encryptKey, @Nullable ByteBuffer outputFileName) FSBANK_RESULT FSBank_Build(FSBANK_SUBSOUND const * subSounds, unsigned int numSubSounds, FSBANK_FORMAT encodeFormat, FSBANK_BUILDFLAGS buildFlags, unsigned int quality, char const * encryptKey, char const * outputFileName)
static int
FSBANK_RESULT FSBank_BuildCancel(void)
static String
FSBank_ErrorString
(int result) static int
FSBank_FetchFSBMemory
(PointerBuffer data, IntBuffer length) FSBANK_RESULT FSBank_FetchFSBMemory(void const ** data, unsigned int * length)
static int
FSBank_FetchNextProgressItem
(PointerBuffer progressItem) FSBANK_RESULT FSBank_FetchNextProgressItem(FSBANK_PROGRESSITEM const ** progressItem)
static int
FSBank_Init
(int version, int flags, int numSimultaneousJobs, @Nullable CharSequence cacheDirectory) FSBANK_RESULT FSBank_Init(FSBANK_FSBVERSION version, FSBANK_INITFLAGS flags, unsigned int numSimultaneousJobs, char const * cacheDirectory)
static int
FSBank_Init
(int version, int flags, int numSimultaneousJobs, @Nullable ByteBuffer cacheDirectory) FSBANK_RESULT FSBank_Init(FSBANK_FSBVERSION version, FSBANK_INITFLAGS flags, unsigned int numSimultaneousJobs, char const * cacheDirectory)
static int
FSBank_MemoryGetStats
(@Nullable IntBuffer currentAllocated, @Nullable IntBuffer maximumAllocated) FSBANK_RESULT FSBank_MemoryGetStats(unsigned int * currentAllocated, unsigned int * maximumAllocated)
static int
FSBank_MemoryInit
(@Nullable FSBANK_MEMORY_ALLOC_CALLBACKI userAlloc, @Nullable FSBANK_MEMORY_REALLOC_CALLBACKI userRealloc, @Nullable FSBANK_MEMORY_FREE_CALLBACKI userFree) FSBANK_RESULT FSBank_MemoryInit(FSBANK_MEMORY_ALLOC_CALLBACK userAlloc, FSBANK_MEMORY_REALLOC_CALLBACK userRealloc, FSBANK_MEMORY_FREE_CALLBACK userFree)
static int
FSBANK_RESULT FSBank_Release(void)
static int
FSBank_ReleaseProgressItem
(FSBANK_PROGRESSITEM progressItem) FSBANK_RESULT FSBank_ReleaseProgressItem(FSBANK_PROGRESSITEM const * progressItem)
static SharedLibrary
Returns the FSBANKSharedLibrary
.static int
nFSBank_Build
(long subSounds, int numSubSounds, int encodeFormat, int buildFlags, int quality, long encryptKey, long outputFileName) FSBANK_RESULT FSBank_Build(FSBANK_SUBSOUND const * subSounds, unsigned int numSubSounds, FSBANK_FORMAT encodeFormat, FSBANK_BUILDFLAGS buildFlags, unsigned int quality, char const * encryptKey, char const * outputFileName)
static int
nFSBank_FetchFSBMemory
(long data, long length) FSBANK_RESULT FSBank_FetchFSBMemory(void const ** data, unsigned int * length)
static int
nFSBank_FetchNextProgressItem
(long progressItem) FSBANK_RESULT FSBank_FetchNextProgressItem(FSBANK_PROGRESSITEM const ** progressItem)
static int
nFSBank_Init
(int version, int flags, int numSimultaneousJobs, long cacheDirectory) FSBANK_RESULT FSBank_Init(FSBANK_FSBVERSION version, FSBANK_INITFLAGS flags, unsigned int numSimultaneousJobs, char const * cacheDirectory)
static int
nFSBank_MemoryGetStats
(long currentAllocated, long maximumAllocated) FSBANK_RESULT FSBank_MemoryGetStats(unsigned int * currentAllocated, unsigned int * maximumAllocated)
static int
nFSBank_MemoryInit
(long userAlloc, long userRealloc, long userFree) FSBANK_RESULT FSBank_MemoryInit(FSBANK_MEMORY_ALLOC_CALLBACK userAlloc, FSBANK_MEMORY_REALLOC_CALLBACK userRealloc, FSBANK_MEMORY_FREE_CALLBACK userFree)
static int
nFSBank_ReleaseProgressItem
(long progressItem) FSBANK_RESULT FSBank_ReleaseProgressItem(FSBANK_PROGRESSITEM const * progressItem)
-
Field Details
-
FSBANK_INIT_NORMAL
public static final int FSBANK_INIT_NORMAL- See Also:
-
FSBANK_INIT_IGNOREERRORS
public static final int FSBANK_INIT_IGNOREERRORS- See Also:
-
FSBANK_INIT_WARNINGSASERRORS
public static final int FSBANK_INIT_WARNINGSASERRORS- See Also:
-
FSBANK_INIT_CREATEINCLUDEHEADER
public static final int FSBANK_INIT_CREATEINCLUDEHEADER- See Also:
-
FSBANK_INIT_DONTLOADCACHEFILES
public static final int FSBANK_INIT_DONTLOADCACHEFILES- See Also:
-
FSBANK_INIT_GENERATEPROGRESSITEMS
public static final int FSBANK_INIT_GENERATEPROGRESSITEMS- See Also:
-
FSBANK_BUILD_DEFAULT
public static final int FSBANK_BUILD_DEFAULT- See Also:
-
FSBANK_BUILD_DISABLESYNCPOINTS
public static final int FSBANK_BUILD_DISABLESYNCPOINTS- See Also:
-
FSBANK_BUILD_DONTLOOP
public static final int FSBANK_BUILD_DONTLOOP- See Also:
-
FSBANK_BUILD_FILTERHIGHFREQ
public static final int FSBANK_BUILD_FILTERHIGHFREQ- See Also:
-
FSBANK_BUILD_DISABLESEEKING
public static final int FSBANK_BUILD_DISABLESEEKING- See Also:
-
FSBANK_BUILD_OPTIMIZESAMPLERATE
public static final int FSBANK_BUILD_OPTIMIZESAMPLERATE- See Also:
-
FSBANK_BUILD_FSB5_DONTWRITENAMES
public static final int FSBANK_BUILD_FSB5_DONTWRITENAMES- See Also:
-
FSBANK_BUILD_NOGUID
public static final int FSBANK_BUILD_NOGUID- See Also:
-
FSBANK_BUILD_WRITEPEAKVOLUME
public static final int FSBANK_BUILD_WRITEPEAKVOLUME- See Also:
-
FSBANK_BUILD_ALIGN4K
public static final int FSBANK_BUILD_ALIGN4K- See Also:
-
FSBANK_BUILD_OVERRIDE_MASK
public static final int FSBANK_BUILD_OVERRIDE_MASK- See Also:
-
FSBANK_BUILD_CACHE_VALIDATION_MASK
public static final int FSBANK_BUILD_CACHE_VALIDATION_MASK- See Also:
-
FSBANK_OK
public static final int FSBANK_OK- See Also:
-
FSBANK_ERR_CACHE_CHUNKNOTFOUND
public static final int FSBANK_ERR_CACHE_CHUNKNOTFOUND- See Also:
-
FSBANK_ERR_CANCELLED
public static final int FSBANK_ERR_CANCELLED- See Also:
-
FSBANK_ERR_CANNOT_CONTINUE
public static final int FSBANK_ERR_CANNOT_CONTINUE- See Also:
-
FSBANK_ERR_ENCODER
public static final int FSBANK_ERR_ENCODER- See Also:
-
FSBANK_ERR_ENCODER_INIT
public static final int FSBANK_ERR_ENCODER_INIT- See Also:
-
FSBANK_ERR_ENCODER_NOTSUPPORTED
public static final int FSBANK_ERR_ENCODER_NOTSUPPORTED- See Also:
-
FSBANK_ERR_FILE_OS
public static final int FSBANK_ERR_FILE_OS- See Also:
-
FSBANK_ERR_FILE_NOTFOUND
public static final int FSBANK_ERR_FILE_NOTFOUND- See Also:
-
FSBANK_ERR_FMOD
public static final int FSBANK_ERR_FMOD- See Also:
-
FSBANK_ERR_INITIALIZED
public static final int FSBANK_ERR_INITIALIZED- See Also:
-
FSBANK_ERR_INVALID_FORMAT
public static final int FSBANK_ERR_INVALID_FORMAT- See Also:
-
FSBANK_ERR_INVALID_PARAM
public static final int FSBANK_ERR_INVALID_PARAM- See Also:
-
FSBANK_ERR_MEMORY
public static final int FSBANK_ERR_MEMORY- See Also:
-
FSBANK_ERR_UNINITIALIZED
public static final int FSBANK_ERR_UNINITIALIZED- See Also:
-
FSBANK_ERR_WRITER_FORMAT
public static final int FSBANK_ERR_WRITER_FORMAT- See Also:
-
FSBANK_WARN_CANNOTLOOP
public static final int FSBANK_WARN_CANNOTLOOP- See Also:
-
FSBANK_WARN_IGNORED_FILTERHIGHFREQ
public static final int FSBANK_WARN_IGNORED_FILTERHIGHFREQ- See Also:
-
FSBANK_WARN_IGNORED_DISABLESEEKING
public static final int FSBANK_WARN_IGNORED_DISABLESEEKING- See Also:
-
FSBANK_WARN_FORCED_DONTWRITENAMES
public static final int FSBANK_WARN_FORCED_DONTWRITENAMES- See Also:
-
FSBANK_ERR_ENCODER_FILE_NOTFOUND
public static final int FSBANK_ERR_ENCODER_FILE_NOTFOUND- See Also:
-
FSBANK_ERR_ENCODER_FILE_BAD
public static final int FSBANK_ERR_ENCODER_FILE_BAD- See Also:
-
FSBANK_WARN_IGNORED_ALIGN4K
public static final int FSBANK_WARN_IGNORED_ALIGN4K- See Also:
-
FSBANK_FORMAT_PCM
public static final int FSBANK_FORMAT_PCM- See Also:
-
FSBANK_FORMAT_XMA
public static final int FSBANK_FORMAT_XMA- See Also:
-
FSBANK_FORMAT_AT9
public static final int FSBANK_FORMAT_AT9- See Also:
-
FSBANK_FORMAT_VORBIS
public static final int FSBANK_FORMAT_VORBIS- See Also:
-
FSBANK_FORMAT_FADPCM
public static final int FSBANK_FORMAT_FADPCM- See Also:
-
FSBANK_FORMAT_OPUS
public static final int FSBANK_FORMAT_OPUS- See Also:
-
FSBANK_FORMAT_MAX
public static final int FSBANK_FORMAT_MAX- See Also:
-
FSBANK_FSBVERSION_FSB5
public static final int FSBANK_FSBVERSION_FSB5- See Also:
-
FSBANK_FSBVERSION_MAX
public static final int FSBANK_FSBVERSION_MAX- See Also:
-
FSBANK_STATE_DECODING
public static final int FSBANK_STATE_DECODING- See Also:
-
FSBANK_STATE_ANALYSING
public static final int FSBANK_STATE_ANALYSING- See Also:
-
FSBANK_STATE_PREPROCESSING
public static final int FSBANK_STATE_PREPROCESSING- See Also:
-
FSBANK_STATE_ENCODING
public static final int FSBANK_STATE_ENCODING- See Also:
-
FSBANK_STATE_WRITING
public static final int FSBANK_STATE_WRITING- See Also:
-
FSBANK_STATE_FINISHED
public static final int FSBANK_STATE_FINISHED- See Also:
-
FSBANK_STATE_FAILED
public static final int FSBANK_STATE_FAILED- See Also:
-
FSBANK_STATE_WARNING
public static final int FSBANK_STATE_WARNING- See Also:
-
-
Method Details
-
getLibrary
Returns the FSBANKSharedLibrary
. -
nFSBank_MemoryInit
public static int nFSBank_MemoryInit(long userAlloc, long userRealloc, long userFree) FSBANK_RESULT FSBank_MemoryInit(FSBANK_MEMORY_ALLOC_CALLBACK userAlloc, FSBANK_MEMORY_REALLOC_CALLBACK userRealloc, FSBANK_MEMORY_FREE_CALLBACK userFree)
-
FSBank_MemoryInit
public static int FSBank_MemoryInit(@Nullable FSBANK_MEMORY_ALLOC_CALLBACKI userAlloc, @Nullable FSBANK_MEMORY_REALLOC_CALLBACKI userRealloc, @Nullable FSBANK_MEMORY_FREE_CALLBACKI userFree) FSBANK_RESULT FSBank_MemoryInit(FSBANK_MEMORY_ALLOC_CALLBACK userAlloc, FSBANK_MEMORY_REALLOC_CALLBACK userRealloc, FSBANK_MEMORY_FREE_CALLBACK userFree)
-
nFSBank_Init
public static int nFSBank_Init(int version, int flags, int numSimultaneousJobs, long cacheDirectory) FSBANK_RESULT FSBank_Init(FSBANK_FSBVERSION version, FSBANK_INITFLAGS flags, unsigned int numSimultaneousJobs, char const * cacheDirectory)
-
FSBank_Init
public static int FSBank_Init(int version, int flags, int numSimultaneousJobs, @Nullable ByteBuffer cacheDirectory) FSBANK_RESULT FSBank_Init(FSBANK_FSBVERSION version, FSBANK_INITFLAGS flags, unsigned int numSimultaneousJobs, char const * cacheDirectory)
-
FSBank_Init
public static int FSBank_Init(int version, int flags, int numSimultaneousJobs, @Nullable CharSequence cacheDirectory) FSBANK_RESULT FSBank_Init(FSBANK_FSBVERSION version, FSBANK_INITFLAGS flags, unsigned int numSimultaneousJobs, char const * cacheDirectory)
-
FSBank_Release
public static int FSBank_Release()FSBANK_RESULT FSBank_Release(void)
-
nFSBank_Build
public static int nFSBank_Build(long subSounds, int numSubSounds, int encodeFormat, int buildFlags, int quality, long encryptKey, long outputFileName) FSBANK_RESULT FSBank_Build(FSBANK_SUBSOUND const * subSounds, unsigned int numSubSounds, FSBANK_FORMAT encodeFormat, FSBANK_BUILDFLAGS buildFlags, unsigned int quality, char const * encryptKey, char const * outputFileName)
-
FSBank_Build
public static int FSBank_Build(FSBANK_SUBSOUND subSounds, int numSubSounds, int encodeFormat, int buildFlags, int quality, @Nullable ByteBuffer encryptKey, @Nullable ByteBuffer outputFileName) FSBANK_RESULT FSBank_Build(FSBANK_SUBSOUND const * subSounds, unsigned int numSubSounds, FSBANK_FORMAT encodeFormat, FSBANK_BUILDFLAGS buildFlags, unsigned int quality, char const * encryptKey, char const * outputFileName)
-
FSBank_Build
public static int FSBank_Build(FSBANK_SUBSOUND subSounds, int numSubSounds, int encodeFormat, int buildFlags, int quality, @Nullable CharSequence encryptKey, @Nullable CharSequence outputFileName) FSBANK_RESULT FSBank_Build(FSBANK_SUBSOUND const * subSounds, unsigned int numSubSounds, FSBANK_FORMAT encodeFormat, FSBANK_BUILDFLAGS buildFlags, unsigned int quality, char const * encryptKey, char const * outputFileName)
-
nFSBank_FetchFSBMemory
public static int nFSBank_FetchFSBMemory(long data, long length) FSBANK_RESULT FSBank_FetchFSBMemory(void const ** data, unsigned int * length)
-
FSBank_FetchFSBMemory
FSBANK_RESULT FSBank_FetchFSBMemory(void const ** data, unsigned int * length)
-
FSBank_BuildCancel
public static int FSBank_BuildCancel()FSBANK_RESULT FSBank_BuildCancel(void)
-
nFSBank_FetchNextProgressItem
public static int nFSBank_FetchNextProgressItem(long progressItem) FSBANK_RESULT FSBank_FetchNextProgressItem(FSBANK_PROGRESSITEM const ** progressItem)
-
FSBank_FetchNextProgressItem
FSBANK_RESULT FSBank_FetchNextProgressItem(FSBANK_PROGRESSITEM const ** progressItem)
-
nFSBank_ReleaseProgressItem
public static int nFSBank_ReleaseProgressItem(long progressItem) FSBANK_RESULT FSBank_ReleaseProgressItem(FSBANK_PROGRESSITEM const * progressItem)
-
FSBank_ReleaseProgressItem
FSBANK_RESULT FSBank_ReleaseProgressItem(FSBANK_PROGRESSITEM const * progressItem)
-
nFSBank_MemoryGetStats
public static int nFSBank_MemoryGetStats(long currentAllocated, long maximumAllocated) FSBANK_RESULT FSBank_MemoryGetStats(unsigned int * currentAllocated, unsigned int * maximumAllocated)
-
FSBank_MemoryGetStats
public static int FSBank_MemoryGetStats(@Nullable IntBuffer currentAllocated, @Nullable IntBuffer maximumAllocated) FSBANK_RESULT FSBank_MemoryGetStats(unsigned int * currentAllocated, unsigned int * maximumAllocated)
-
FSBank_ErrorString
-