Top Description Inners Fields Constructors Methods
org.lwjgl.fmod

public Class FMOD_DSP_DESCRIPTION

extends Struct<FMOD_DSP_DESCRIPTION>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct FMOD_DSP_DESCRIPTION {
    unsigned int pluginsdkversion;
    char name[32];
    unsigned int version;
    int numinputbuffers;
    int numoutputbuffers;
    FMOD_DSP_CREATE_CALLBACK create;
    FMOD_DSP_RELEASE_CALLBACK release;
    FMOD_DSP_RESET_CALLBACK reset;
    FMOD_DSP_READ_CALLBACK read;
    FMOD_DSP_PROCESS_CALLBACK process;
    FMOD_DSP_SETPOSITION_CALLBACK setposition;
    int numparameters;
    FMOD_DSP_PARAMETER_DESC ** paramdesc;
    FMOD_DSP_SETPARAM_FLOAT_CALLBACK setparameterfloat;
    FMOD_DSP_SETPARAM_INT_CALLBACK setparameterint;
    FMOD_DSP_SETPARAM_BOOL_CALLBACK setparameterbool;
    FMOD_DSP_SETPARAM_DATA_CALLBACK setparameterdata;
    FMOD_DSP_GETPARAM_FLOAT_CALLBACK getparameterfloat;
    FMOD_DSP_GETPARAM_INT_CALLBACK getparameterint;
    FMOD_DSP_GETPARAM_BOOL_CALLBACK getparameterbool;
    FMOD_DSP_GETPARAM_DATA_CALLBACK getparameterdata;
    FMOD_DSP_SHOULDIPROCESS_CALLBACK shouldiprocess;
    void * userdata;
    FMOD_DSP_SYSTEM_REGISTER_CALLBACK sys_register;
    FMOD_DSP_SYSTEM_DEREGISTER_CALLBACK sys_deregister;
    FMOD_DSP_SYSTEM_MIX_CALLBACK sys_mix;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
CREATE

The struct member offsets.

public static final int
GETPARAMETERBOOL

The struct member offsets.

public static final int
GETPARAMETERDATA

The struct member offsets.

public static final int
GETPARAMETERFLOAT

The struct member offsets.

public static final int
GETPARAMETERINT

The struct member offsets.

public static final int
NAME

The struct member offsets.

public static final int
NUMINPUTBUFFERS

The struct member offsets.

public static final int
NUMOUTPUTBUFFERS

The struct member offsets.

public static final int
NUMPARAMETERS

The struct member offsets.

public static final int
PARAMDESC

The struct member offsets.

public static final int
PLUGINSDKVERSION

The struct member offsets.

public static final int
PROCESS

The struct member offsets.

public static final int
READ

The struct member offsets.

public static final int
RELEASE

The struct member offsets.

public static final int
RESET

The struct member offsets.

public static final int
SETPARAMETERBOOL

The struct member offsets.

public static final int
SETPARAMETERDATA

The struct member offsets.

public static final int
SETPARAMETERFLOAT

The struct member offsets.

public static final int
SETPARAMETERINT

The struct member offsets.

public static final int
SETPOSITION

The struct member offsets.

public static final int
SHOULDIPROCESS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SYS_DEREGISTER

The struct member offsets.

public static final int
SYS_MIX

The struct member offsets.

public static final int
SYS_REGISTER

The struct member offsets.

public static final int
USERDATA

The struct member offsets.

public static final int
VERSION

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
FMOD_DSP_DESCRIPTION(long address, ByteBuffer container)

public
FMOD_DSP_DESCRIPTION(ByteBuffer container)

Creates a FMOD_DSP_DESCRIPTION instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static FMOD_DSP_DESCRIPTION
calloc()

Returns a new FMOD_DSP_DESCRIPTION instance allocated with memCalloc.

public static FMOD_DSP_DESCRIPTION.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new FMOD_DSP_DESCRIPTION.Buffer instance allocated with memCalloc.

public static FMOD_DSP_DESCRIPTION
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_DESCRIPTION instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static FMOD_DSP_DESCRIPTION.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_DESCRIPTION.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected FMOD_DSP_DESCRIPTION
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static FMOD_DSP_DESCRIPTION
create()

Returns a new FMOD_DSP_DESCRIPTION instance allocated with BufferUtils.

public static FMOD_DSP_DESCRIPTION
create(long address)

Returns a new FMOD_DSP_DESCRIPTION instance for the specified memory address.

public static FMOD_DSP_DESCRIPTION.Buffer
create(int
the buffer capacity
capacity
)

Returns a new FMOD_DSP_DESCRIPTION.Buffer instance allocated with BufferUtils.

public static FMOD_DSP_DESCRIPTION.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a FMOD_DSP_DESCRIPTION.Buffer instance at the specified memory.

public FMOD_DSP_CREATE_CALLBACK

Returns:

the value of the create field.
create$
()

public FMOD_DSP_DESCRIPTION
create$(FMOD_DSP_CREATE_CALLBACKI value)

Sets the specified value to the create field.

public static FMOD_DSP_DESCRIPTION
createSafe(long address)

Like create, but returns null if address is NULL.

public static FMOD_DSP_DESCRIPTION.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public FMOD_DSP_GETPARAM_BOOL_CALLBACK

Returns:

the value of the getparameterbool field.
getparameterbool
()

public FMOD_DSP_DESCRIPTION
getparameterbool(FMOD_DSP_GETPARAM_BOOL_CALLBACKI value)

Sets the specified value to the getparameterbool field.

public FMOD_DSP_GETPARAM_DATA_CALLBACK

Returns:

the value of the getparameterdata field.
getparameterdata
()

public FMOD_DSP_DESCRIPTION
getparameterdata(FMOD_DSP_GETPARAM_DATA_CALLBACKI value)

Sets the specified value to the getparameterdata field.

public FMOD_DSP_GETPARAM_FLOAT_CALLBACK

Returns:

the value of the getparameterfloat field.
getparameterfloat
()

public FMOD_DSP_DESCRIPTION
getparameterfloat(FMOD_DSP_GETPARAM_FLOAT_CALLBACKI value)

Sets the specified value to the getparameterfloat field.

public FMOD_DSP_GETPARAM_INT_CALLBACK

Returns:

the value of the getparameterint field.
getparameterint
()

public FMOD_DSP_DESCRIPTION
getparameterint(FMOD_DSP_GETPARAM_INT_CALLBACKI value)

Sets the specified value to the getparameterint field.

public static FMOD_DSP_DESCRIPTION
malloc()

Returns a new FMOD_DSP_DESCRIPTION instance allocated with memAlloc.

public static FMOD_DSP_DESCRIPTION.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new FMOD_DSP_DESCRIPTION.Buffer instance allocated with memAlloc.

public static FMOD_DSP_DESCRIPTION
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_DESCRIPTION instance allocated on the specified MemoryStack.

public static FMOD_DSP_DESCRIPTION.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new FMOD_DSP_DESCRIPTION.Buffer instance allocated on the specified MemoryStack.

public ByteBuffer

Returns:

a ByteBuffer view of the name field.
name
()

public byte

Returns:

the value at the specified index of the name field.
name
(int index)

public FMOD_DSP_DESCRIPTION
name(ByteBuffer value)

Copies the specified ByteBuffer to the name field.

public FMOD_DSP_DESCRIPTION
name(int index, byte value)

Sets the specified value at the specified index of the name field.

public static FMOD_DSP_CREATE_CALLBACK
ncreate$(long struct)

Unsafe version of create$.

public static void
ncreate$(long struct, FMOD_DSP_CREATE_CALLBACKI value)

Unsafe version of create$.

public static FMOD_DSP_GETPARAM_BOOL_CALLBACK
ngetparameterbool(long struct)

Unsafe version of getparameterbool.

public static void
public static FMOD_DSP_GETPARAM_DATA_CALLBACK
ngetparameterdata(long struct)

Unsafe version of getparameterdata.

public static void
public static FMOD_DSP_GETPARAM_FLOAT_CALLBACK
ngetparameterfloat(long struct)

Unsafe version of getparameterfloat.

public static void
public static FMOD_DSP_GETPARAM_INT_CALLBACK
ngetparameterint(long struct)

Unsafe version of getparameterint.

public static void
public static ByteBuffer
nname(long struct)

Unsafe version of name.

public static byte
nname(long struct, int index)

Unsafe version of name.

public static void
nname(long struct, ByteBuffer value)

Unsafe version of name.

public static void
nname(long struct, int index, byte value)

Unsafe version of name.

public static int
nnuminputbuffers(long struct)

Unsafe version of numinputbuffers.

public static void
nnuminputbuffers(long struct, int value)

Unsafe version of numinputbuffers.

public static int
nnumoutputbuffers(long struct)

Unsafe version of numoutputbuffers.

public static void
nnumoutputbuffers(long struct, int value)

Unsafe version of numoutputbuffers.

public static int
nnumparameters(long struct)

Unsafe version of numparameters.

public static void
nnumparameters(long struct, int value)

Sets the specified value to the numparameters field of the specified struct.

public static PointerBuffer
nparamdesc(long struct)

Unsafe version of paramdesc.

public static void
nparamdesc(long struct, PointerBuffer value)

Unsafe version of paramdesc.

public static int
npluginsdkversion(long struct)

Unsafe version of pluginsdkversion.

public static void
npluginsdkversion(long struct, int value)

Unsafe version of pluginsdkversion.

public static FMOD_DSP_PROCESS_CALLBACK
nprocess(long struct)

Unsafe version of process.

public static void
nprocess(long struct, FMOD_DSP_PROCESS_CALLBACKI value)

Unsafe version of process.

public static FMOD_DSP_READ_CALLBACK
nread(long struct)

Unsafe version of read.

public static void
nread(long struct, FMOD_DSP_READ_CALLBACKI value)

Unsafe version of read.

public static FMOD_DSP_RELEASE_CALLBACK
nrelease(long struct)

Unsafe version of release.

public static void
nrelease(long struct, FMOD_DSP_RELEASE_CALLBACKI value)

Unsafe version of release.

public static FMOD_DSP_RESET_CALLBACK
nreset$(long struct)

Unsafe version of reset$.

public static void
nreset$(long struct, FMOD_DSP_RESET_CALLBACKI value)

Unsafe version of reset$.

public static FMOD_DSP_SETPARAM_BOOL_CALLBACK
nsetparameterbool(long struct)

Unsafe version of setparameterbool.

public static void
public static FMOD_DSP_SETPARAM_DATA_CALLBACK
nsetparameterdata(long struct)

Unsafe version of setparameterdata.

public static void
public static FMOD_DSP_SETPARAM_FLOAT_CALLBACK
nsetparameterfloat(long struct)

Unsafe version of setparameterfloat.

public static void
public static FMOD_DSP_SETPARAM_INT_CALLBACK
nsetparameterint(long struct)

Unsafe version of setparameterint.

public static void
public static FMOD_DSP_SETPOSITION_CALLBACK
nsetposition(long struct)

Unsafe version of setposition.

public static void
nsetposition(long struct, FMOD_DSP_SETPOSITION_CALLBACKI value)

Unsafe version of setposition.

public static FMOD_DSP_SHOULDIPROCESS_CALLBACK
nshouldiprocess(long struct)

Unsafe version of shouldiprocess.

public static void
public static FMOD_DSP_SYSTEM_DEREGISTER_CALLBACK
nsys_deregister(long struct)

Unsafe version of sys_deregister.

public static void
public static FMOD_DSP_SYSTEM_MIX_CALLBACK
nsys_mix(long struct)

Unsafe version of sys_mix.

public static void
nsys_mix(long struct, FMOD_DSP_SYSTEM_MIX_CALLBACKI value)

Unsafe version of sys_mix.

public static FMOD_DSP_SYSTEM_REGISTER_CALLBACK
nsys_register(long struct)

Unsafe version of sys_register.

public static void
nsys_register(long struct, FMOD_DSP_SYSTEM_REGISTER_CALLBACKI value)

Unsafe version of sys_register.

public int

Returns:

the value of the numinputbuffers field.
numinputbuffers
()

public FMOD_DSP_DESCRIPTION
numinputbuffers(int value)

Sets the specified value to the numinputbuffers field.

public int

Returns:

the value of the numoutputbuffers field.
numoutputbuffers
()

public FMOD_DSP_DESCRIPTION
numoutputbuffers(int value)

Sets the specified value to the numoutputbuffers field.

public int

Returns:

the value of the numparameters field.
numparameters
()

public static long
nuserdata(long struct)

Unsafe version of userdata.

public static void
nuserdata(long struct, long value)

Unsafe version of userdata.

public static int
nversion(long struct)

Unsafe version of version.

public static void
nversion(long struct, int value)

Unsafe version of version.

public PointerBuffer

Returns:

a PointerBuffer view of the data pointed to by the paramdesc field.
paramdesc
()

public FMOD_DSP_DESCRIPTION
paramdesc(PointerBuffer value)

Sets the address of the specified PointerBuffer to the paramdesc field.

public int

Returns:

the value of the pluginsdkversion field.
pluginsdkversion
()

public FMOD_DSP_DESCRIPTION
pluginsdkversion(int value)

Sets the specified value to the pluginsdkversion field.

public FMOD_DSP_PROCESS_CALLBACK

Returns:

the value of the process field.
process
()

public FMOD_DSP_DESCRIPTION
process(FMOD_DSP_PROCESS_CALLBACKI value)

Sets the specified value to the process field.

public FMOD_DSP_READ_CALLBACK

Returns:

the value of the read field.
read
()

public FMOD_DSP_DESCRIPTION
read(FMOD_DSP_READ_CALLBACKI value)

Sets the specified value to the read field.

public FMOD_DSP_RELEASE_CALLBACK

Returns:

the value of the release field.
release
()

public FMOD_DSP_DESCRIPTION
release(FMOD_DSP_RELEASE_CALLBACKI value)

Sets the specified value to the release field.

public FMOD_DSP_RESET_CALLBACK

Returns:

the value of the reset field.
reset$
()

public FMOD_DSP_DESCRIPTION
reset$(FMOD_DSP_RESET_CALLBACKI value)

Sets the specified value to the reset field.

public FMOD_DSP_DESCRIPTION
set(int pluginsdkversion, ByteBuffer name, int version, int numinputbuffers, int numoutputbuffers, FMOD_DSP_CREATE_CALLBACKI create$, FMOD_DSP_RELEASE_CALLBACKI release, FMOD_DSP_RESET_CALLBACKI reset$, FMOD_DSP_READ_CALLBACKI read, FMOD_DSP_PROCESS_CALLBACKI process, FMOD_DSP_SETPOSITION_CALLBACKI setposition, PointerBuffer paramdesc, FMOD_DSP_SETPARAM_FLOAT_CALLBACKI setparameterfloat, FMOD_DSP_SETPARAM_INT_CALLBACKI setparameterint, FMOD_DSP_SETPARAM_BOOL_CALLBACKI setparameterbool, FMOD_DSP_SETPARAM_DATA_CALLBACKI setparameterdata, FMOD_DSP_GETPARAM_FLOAT_CALLBACKI getparameterfloat, FMOD_DSP_GETPARAM_INT_CALLBACKI getparameterint, FMOD_DSP_GETPARAM_BOOL_CALLBACKI getparameterbool, FMOD_DSP_GETPARAM_DATA_CALLBACKI getparameterdata, FMOD_DSP_SHOULDIPROCESS_CALLBACKI shouldiprocess, long userdata, FMOD_DSP_SYSTEM_REGISTER_CALLBACKI sys_register, FMOD_DSP_SYSTEM_DEREGISTER_CALLBACKI sys_deregister, FMOD_DSP_SYSTEM_MIX_CALLBACKI sys_mix)

Initializes this struct with the specified values.

public FMOD_DSP_DESCRIPTION

Returns:

this struct
set
(FMOD_DSP_DESCRIPTION
the source struct
src
)

Copies the specified struct data to this struct.

public FMOD_DSP_SETPARAM_BOOL_CALLBACK

Returns:

the value of the setparameterbool field.
setparameterbool
()

public FMOD_DSP_DESCRIPTION
setparameterbool(FMOD_DSP_SETPARAM_BOOL_CALLBACKI value)

Sets the specified value to the setparameterbool field.

public FMOD_DSP_SETPARAM_DATA_CALLBACK

Returns:

the value of the setparameterdata field.
setparameterdata
()

public FMOD_DSP_DESCRIPTION
setparameterdata(FMOD_DSP_SETPARAM_DATA_CALLBACKI value)

Sets the specified value to the setparameterdata field.

public FMOD_DSP_SETPARAM_FLOAT_CALLBACK

Returns:

the value of the setparameterfloat field.
setparameterfloat
()

public FMOD_DSP_DESCRIPTION
setparameterfloat(FMOD_DSP_SETPARAM_FLOAT_CALLBACKI value)

Sets the specified value to the setparameterfloat field.

public FMOD_DSP_SETPARAM_INT_CALLBACK

Returns:

the value of the setparameterint field.
setparameterint
()

public FMOD_DSP_DESCRIPTION
setparameterint(FMOD_DSP_SETPARAM_INT_CALLBACKI value)

Sets the specified value to the setparameterint field.

public FMOD_DSP_SETPOSITION_CALLBACK

Returns:

the value of the setposition field.
setposition
()

public FMOD_DSP_DESCRIPTION
setposition(FMOD_DSP_SETPOSITION_CALLBACKI value)

Sets the specified value to the setposition field.

public FMOD_DSP_SHOULDIPROCESS_CALLBACK

Returns:

the value of the shouldiprocess field.
shouldiprocess
()

public FMOD_DSP_DESCRIPTION
shouldiprocess(FMOD_DSP_SHOULDIPROCESS_CALLBACKI value)

Sets the specified value to the shouldiprocess field.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public FMOD_DSP_SYSTEM_DEREGISTER_CALLBACK

Returns:

the value of the sys_deregister field.
sys_deregister
()

public FMOD_DSP_DESCRIPTION
sys_deregister(FMOD_DSP_SYSTEM_DEREGISTER_CALLBACKI value)

Sets the specified value to the sys_deregister field.

public FMOD_DSP_SYSTEM_MIX_CALLBACK

Returns:

the value of the sys_mix field.
sys_mix
()

public FMOD_DSP_DESCRIPTION
sys_mix(FMOD_DSP_SYSTEM_MIX_CALLBACKI value)

Sets the specified value to the sys_mix field.

public FMOD_DSP_SYSTEM_REGISTER_CALLBACK

Returns:

the value of the sys_register field.
sys_register
()

public FMOD_DSP_DESCRIPTION
sys_register(FMOD_DSP_SYSTEM_REGISTER_CALLBACKI value)

Sets the specified value to the sys_register field.

public long

Returns:

the value of the userdata field.
userdata
()

public FMOD_DSP_DESCRIPTION
userdata(long value)

Sets the specified value to the userdata field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int

Returns:

the value of the version field.
version
()

public FMOD_DSP_DESCRIPTION
version(int value)

Sets the specified value to the version field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate