Top Description Inners Fields Constructors Methods
org.lwjgl.fmod

public Class FMOD_OUTPUT_DESCRIPTION

extends Struct<FMOD_OUTPUT_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.*

Output structures

Layout


struct FMOD_OUTPUT_DESCRIPTION {
    unsigned int apiversion;
    char const * name;
    unsigned int version;
    FMOD_OUTPUT_METHOD method;
    FMOD_OUTPUT_GETNUMDRIVERS_CALLBACK getnumdrivers;
    FMOD_OUTPUT_GETDRIVERINFO_CALLBACK getdriverinfo;
    FMOD_OUTPUT_INIT_CALLBACK init;
    FMOD_OUTPUT_START_CALLBACK start;
    FMOD_OUTPUT_STOP_CALLBACK stop;
    FMOD_OUTPUT_CLOSE_CALLBACK close;
    FMOD_OUTPUT_UPDATE_CALLBACK update;
    FMOD_OUTPUT_GETHANDLE_CALLBACK gethandle;
    FMOD_OUTPUT_MIXER_CALLBACK mixer;
    FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACK object3dgetinfo;
    FMOD_OUTPUT_OBJECT3DALLOC_CALLBACK object3dalloc;
    FMOD_OUTPUT_OBJECT3DFREE_CALLBACK object3dfree;
    FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACK object3dupdate;
    FMOD_OUTPUT_OPENPORT_CALLBACK openport;
    FMOD_OUTPUT_CLOSEPORT_CALLBACK closeport;
    FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACK devicelistchanged;
}

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
APIVERSION

The struct member offsets.

public static final int
CLOSE

The struct member offsets.

public static final int
CLOSEPORT

The struct member offsets.

public static final int
DEVICELISTCHANGED

The struct member offsets.

public static final int
GETDRIVERINFO

The struct member offsets.

public static final int
GETHANDLE

The struct member offsets.

public static final int
GETNUMDRIVERS

The struct member offsets.

public static final int
INIT

The struct member offsets.

public static final int
METHOD

The struct member offsets.

public static final int
MIXER

The struct member offsets.

public static final int
NAME

The struct member offsets.

public static final int
OBJECT3DALLOC

The struct member offsets.

public static final int
OBJECT3DFREE

The struct member offsets.

public static final int
OBJECT3DGETINFO

The struct member offsets.

public static final int
OBJECT3DUPDATE

The struct member offsets.

public static final int
OPENPORT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
START

The struct member offsets.

public static final int
STOP

The struct member offsets.

public static final int
UPDATE

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_OUTPUT_DESCRIPTION(long address, ByteBuffer container)

public
FMOD_OUTPUT_DESCRIPTION(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the apiversion field.
apiversion
()

public FMOD_OUTPUT_DESCRIPTION
apiversion(int value)

Sets the specified value to the apiversion field.

public static FMOD_OUTPUT_DESCRIPTION
calloc()

Returns a new FMOD_OUTPUT_DESCRIPTION instance allocated with memCalloc.

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

Returns a new FMOD_OUTPUT_DESCRIPTION.Buffer instance allocated with memCalloc.

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

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

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

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

public FMOD_OUTPUT_CLOSE_CALLBACK

Returns:

the value of the close field.
close$
()

public FMOD_OUTPUT_DESCRIPTION
close$(FMOD_OUTPUT_CLOSE_CALLBACKI value)

Sets the specified value to the close field.

public FMOD_OUTPUT_CLOSEPORT_CALLBACK

Returns:

the value of the closeport field.
closeport
()

public FMOD_OUTPUT_DESCRIPTION
closeport(FMOD_OUTPUT_CLOSEPORT_CALLBACKI value)

Sets the specified value to the closeport field.

protected FMOD_OUTPUT_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_OUTPUT_DESCRIPTION
create()

Returns a new FMOD_OUTPUT_DESCRIPTION instance allocated with BufferUtils.

public static FMOD_OUTPUT_DESCRIPTION
create(long address)

Returns a new FMOD_OUTPUT_DESCRIPTION instance for the specified memory address.

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

Returns a new FMOD_OUTPUT_DESCRIPTION.Buffer instance allocated with BufferUtils.

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

Create a FMOD_OUTPUT_DESCRIPTION.Buffer instance at the specified memory.

public static FMOD_OUTPUT_DESCRIPTION
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACK

Returns:

the value of the devicelistchanged field.
devicelistchanged
()

public FMOD_OUTPUT_DESCRIPTION
devicelistchanged(FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACKI value)

Sets the specified value to the devicelistchanged field.

public FMOD_OUTPUT_GETDRIVERINFO_CALLBACK

Returns:

the value of the getdriverinfo field.
getdriverinfo
()

public FMOD_OUTPUT_DESCRIPTION
getdriverinfo(FMOD_OUTPUT_GETDRIVERINFO_CALLBACKI value)

Sets the specified value to the getdriverinfo field.

public FMOD_OUTPUT_GETHANDLE_CALLBACK

Returns:

the value of the gethandle field.
gethandle
()

public FMOD_OUTPUT_DESCRIPTION
gethandle(FMOD_OUTPUT_GETHANDLE_CALLBACKI value)

Sets the specified value to the gethandle field.

public FMOD_OUTPUT_GETNUMDRIVERS_CALLBACK

Returns:

the value of the getnumdrivers field.
getnumdrivers
()

public FMOD_OUTPUT_DESCRIPTION
getnumdrivers(FMOD_OUTPUT_GETNUMDRIVERS_CALLBACKI value)

Sets the specified value to the getnumdrivers field.

public FMOD_OUTPUT_INIT_CALLBACK

Returns:

the value of the init field.
init
()

public FMOD_OUTPUT_DESCRIPTION
init(FMOD_OUTPUT_INIT_CALLBACKI value)

Sets the specified value to the init field.

public static FMOD_OUTPUT_DESCRIPTION
malloc()

Returns a new FMOD_OUTPUT_DESCRIPTION instance allocated with memAlloc.

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

Returns a new FMOD_OUTPUT_DESCRIPTION.Buffer instance allocated with memAlloc.

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

Returns a new FMOD_OUTPUT_DESCRIPTION instance allocated on the specified MemoryStack.

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

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

public int

Returns:

the value of the method field.
method
()

public FMOD_OUTPUT_DESCRIPTION
method(int value)

Sets the specified value to the method field.

public FMOD_OUTPUT_MIXER_CALLBACK

Returns:

the value of the mixer field.
mixer
()

public FMOD_OUTPUT_DESCRIPTION
mixer(FMOD_OUTPUT_MIXER_CALLBACKI value)

Sets the specified value to the mixer field.

public ByteBuffer

Returns:

a ByteBuffer view of the null-terminated string pointed to by the name field.
name
()

public FMOD_OUTPUT_DESCRIPTION
name(ByteBuffer value)

Sets the address of the specified encoded string to the name field.

public String

Returns:

the null-terminated string pointed to by the name field.
nameString
()

public static int
napiversion(long struct)

Unsafe version of apiversion.

public static void
napiversion(long struct, int value)

Unsafe version of apiversion.

public static FMOD_OUTPUT_CLOSE_CALLBACK
nclose$(long struct)

Unsafe version of close$.

public static void
nclose$(long struct, FMOD_OUTPUT_CLOSE_CALLBACKI value)

Unsafe version of close$.

public static FMOD_OUTPUT_CLOSEPORT_CALLBACK
ncloseport(long struct)

Unsafe version of closeport.

public static void
ncloseport(long struct, FMOD_OUTPUT_CLOSEPORT_CALLBACKI value)

Unsafe version of closeport.

public static FMOD_OUTPUT_DEVICELISTCHANGED_CALLBACK
ndevicelistchanged(long struct)

Unsafe version of devicelistchanged.

public static void
public static FMOD_OUTPUT_GETDRIVERINFO_CALLBACK
ngetdriverinfo(long struct)

Unsafe version of getdriverinfo.

public static void
public static FMOD_OUTPUT_GETHANDLE_CALLBACK
ngethandle(long struct)

Unsafe version of gethandle.

public static void
ngethandle(long struct, FMOD_OUTPUT_GETHANDLE_CALLBACKI value)

Unsafe version of gethandle.

public static FMOD_OUTPUT_GETNUMDRIVERS_CALLBACK
ngetnumdrivers(long struct)

Unsafe version of getnumdrivers.

public static void
public static FMOD_OUTPUT_INIT_CALLBACK
ninit(long struct)

Unsafe version of init.

public static void
ninit(long struct, FMOD_OUTPUT_INIT_CALLBACKI value)

Unsafe version of init.

public static int
nmethod(long struct)

Unsafe version of method.

public static void
nmethod(long struct, int value)

Unsafe version of method.

public static FMOD_OUTPUT_MIXER_CALLBACK
nmixer(long struct)

Unsafe version of mixer.

public static void
nmixer(long struct, FMOD_OUTPUT_MIXER_CALLBACKI value)

Unsafe version of mixer.

public static ByteBuffer
nname(long struct)

Unsafe version of name.

public static void
nname(long struct, ByteBuffer value)

Unsafe version of name.

public static String
nnameString(long struct)

Unsafe version of nameString.

public static FMOD_OUTPUT_OBJECT3DALLOC_CALLBACK
nobject3dalloc(long struct)

Unsafe version of object3dalloc.

public static void
public static FMOD_OUTPUT_OBJECT3DFREE_CALLBACK
nobject3dfree(long struct)

Unsafe version of object3dfree.

public static void
nobject3dfree(long struct, FMOD_OUTPUT_OBJECT3DFREE_CALLBACKI value)

Unsafe version of object3dfree.

public static FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACK
nobject3dgetinfo(long struct)

Unsafe version of object3dgetinfo.

public static void
public static FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACK
nobject3dupdate(long struct)

Unsafe version of object3dupdate.

public static void
public static FMOD_OUTPUT_OPENPORT_CALLBACK
nopenport(long struct)

Unsafe version of openport.

public static void
nopenport(long struct, FMOD_OUTPUT_OPENPORT_CALLBACKI value)

Unsafe version of openport.

public static FMOD_OUTPUT_START_CALLBACK
nstart(long struct)

Unsafe version of start.

public static void
nstart(long struct, FMOD_OUTPUT_START_CALLBACKI value)

Unsafe version of start.

public static FMOD_OUTPUT_STOP_CALLBACK
nstop(long struct)

Unsafe version of stop.

public static void
nstop(long struct, FMOD_OUTPUT_STOP_CALLBACKI value)

Unsafe version of stop.

public static FMOD_OUTPUT_UPDATE_CALLBACK
nupdate(long struct)

Unsafe version of update.

public static void
nupdate(long struct, FMOD_OUTPUT_UPDATE_CALLBACKI value)

Unsafe version of update.

public static int
nversion(long struct)

Unsafe version of version.

public static void
nversion(long struct, int value)

Unsafe version of version.

public FMOD_OUTPUT_OBJECT3DALLOC_CALLBACK

Returns:

the value of the object3dalloc field.
object3dalloc
()

public FMOD_OUTPUT_DESCRIPTION
object3dalloc(FMOD_OUTPUT_OBJECT3DALLOC_CALLBACKI value)

Sets the specified value to the object3dalloc field.

public FMOD_OUTPUT_OBJECT3DFREE_CALLBACK

Returns:

the value of the object3dfree field.
object3dfree
()

public FMOD_OUTPUT_DESCRIPTION
object3dfree(FMOD_OUTPUT_OBJECT3DFREE_CALLBACKI value)

Sets the specified value to the object3dfree field.

public FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACK

Returns:

the value of the object3dgetinfo field.
object3dgetinfo
()

public FMOD_OUTPUT_DESCRIPTION
object3dgetinfo(FMOD_OUTPUT_OBJECT3DGETINFO_CALLBACKI value)

Sets the specified value to the object3dgetinfo field.

public FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACK

Returns:

the value of the object3dupdate field.
object3dupdate
()

public FMOD_OUTPUT_DESCRIPTION
object3dupdate(FMOD_OUTPUT_OBJECT3DUPDATE_CALLBACKI value)

Sets the specified value to the object3dupdate field.

public FMOD_OUTPUT_OPENPORT_CALLBACK

Returns:

the value of the openport field.
openport
()

public FMOD_OUTPUT_DESCRIPTION
openport(FMOD_OUTPUT_OPENPORT_CALLBACKI value)

Sets the specified value to the openport field.

public FMOD_OUTPUT_DESCRIPTION
public FMOD_OUTPUT_DESCRIPTION

Returns:

this struct
set
(FMOD_OUTPUT_DESCRIPTION
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

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

Returns sizeof(struct).
public FMOD_OUTPUT_START_CALLBACK

Returns:

the value of the start field.
start
()

public FMOD_OUTPUT_DESCRIPTION
start(FMOD_OUTPUT_START_CALLBACKI value)

Sets the specified value to the start field.

public FMOD_OUTPUT_STOP_CALLBACK

Returns:

the value of the stop field.
stop
()

public FMOD_OUTPUT_DESCRIPTION
stop(FMOD_OUTPUT_STOP_CALLBACKI value)

Sets the specified value to the stop field.

public FMOD_OUTPUT_UPDATE_CALLBACK

Returns:

the value of the update field.
update
()

public FMOD_OUTPUT_DESCRIPTION
update(FMOD_OUTPUT_UPDATE_CALLBACKI value)

Sets the specified value to the update 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_OUTPUT_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