| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALC_ALL_ATTRIBUTES
Integer queries. |
| public static final int | ALC_ATTRIBUTES_SIZE
Integer queries. |
| public static final int | ALC_DEFAULT_DEVICE_SPECIFIER
String queries. |
| public static final int | ALC_DEVICE_SPECIFIER
String queries. |
| public static final int | ALC_EXTENSIONS
String queries. |
| public static final int | ALC_FALSE
General tokens. |
| public static final int | ALC_FREQUENCY
Context creation attributes. |
| public static final int | ALC_INVALID
General tokens. |
| public static final int | ALC_INVALID_CONTEXT
Error conditions. |
| public static final int | ALC_INVALID_DEVICE
Error conditions. |
| public static final int | ALC_INVALID_ENUM
Error conditions. |
| public static final int | ALC_INVALID_VALUE
Error conditions. |
| public static final int | ALC_MAJOR_VERSION
Integer queries. |
| public static final int | ALC_MINOR_VERSION
Integer queries. |
| public static final int | ALC_NO_ERROR
Error conditions. |
| public static final int | ALC_OUT_OF_MEMORY
Error conditions. |
| public static final int | ALC_REFRESH
Context creation attributes. |
| public static final int | ALC_SYNC
Context creation attributes. |
| public static final int | ALC_TRUE
General tokens. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||
|---|---|---|---|---|---|---|
| public static boolean | alcCloseDevice(long
the device to close deviceHandle)Allows the application to disconnect from a device. | |||||
| public static long | alcCreateContext(long
a valid device deviceHandle, IntBuffer null or a zero terminated list of integer pairs composed of valid ALC attribute tokens and requested values. One of: attrList)
Creates an AL context. | |||||
| public static long | ||||||
| public static void | ||||||
| public static long | alcGetContextsDevice(long
the context to query context)Queries for, and obtains a handle to, the device of a given context. | |||||
| public static long | alcGetCurrentContext()
Queries for, and obtains a handle to, the current context for the application. | |||||
| public static int | alcGetEnumValue(long
the device to query deviceHandle, ByteBuffer the enum name enumName)Returns extension enum values. | |||||
| public static int | alcGetEnumValue(long
the device to query deviceHandle, CharSequence the enum name enumName)Returns extension enum values. | |||||
| public static int | ||||||
| public static int | alcGetInteger(long
the device to query deviceHandle, int the information to query. One of: token)
Obtains integer value(s) from ALC. | |||||
| public static void | alcGetIntegerv(long
the device to query deviceHandle, int the information to query. One of: token, IntBuffer
the destination buffer dest)Obtains integer value(s) from ALC. | |||||
| public static void | ||||||
| public static long | alcGetProcAddress(long
the device to query deviceHandle, ByteBuffer the function name funcName)Retrieves extension entry points. | |||||
| public static long | alcGetProcAddress(long
the device to query deviceHandle, CharSequence the function name funcName)Retrieves extension entry points. | |||||
| public static String | alcGetString(long
the device to query deviceHandle, int the information to query. One of: token)
Obtains string value(s) from ALC. | |||||
| public static boolean | alcIsExtensionPresent(long
the device to query deviceHandle, ByteBuffer the extension name extName)Verifies that a given extension is available for the current context and the device it is associated with. | |||||
| public static boolean | alcIsExtensionPresent(long
the device to query deviceHandle, CharSequence the extension name extName)Verifies that a given extension is available for the current context and the device it is associated with. | |||||
| public static boolean | alcMakeContextCurrent(long
the context to make current context)Makes a context current with respect to OpenAL operation. | |||||
| public static long | alcOpenDevice(ByteBuffer
the requested device or device configuration deviceSpecifier)Allows the application to connect to a device. | |||||
| public static long | alcOpenDevice(CharSequence
the requested device or device configuration deviceSpecifier)Allows the application to connect to a device. | |||||
| public static void | alcProcessContext(long
the context to mark for processing context)The current context is the only context accessible to state changes by AL commands (aside from state changes affecting shared objects). | |||||
| public static void | alcSuspendContext(long
the context to mark as suspended context)The application can suspend any context from processing (including the current one). | |||||
| public static long | ||||||
| public static int | ||||||
| public static void | nalcGetIntegerv(long deviceHandle, int token, int
the size of the size, long dest)dest bufferUnsafe version of: | |||||
| public static long | ||||||
| public static long | ||||||
| public static boolean | ||||||
| public static long |
| ALC_ALL_ATTRIBUTES | back to summary |
|---|---|
| public static final int ALC_ALL_ATTRIBUTES Integer queries. | |
| ALC_ATTRIBUTES_SIZE | back to summary |
|---|---|
| public static final int ALC_ATTRIBUTES_SIZE Integer queries. | |
| ALC_DEFAULT_DEVICE_SPECIFIER | back to summary |
|---|---|
| public static final int ALC_DEFAULT_DEVICE_SPECIFIER String queries. | |
| ALC_DEVICE_SPECIFIER | back to summary |
|---|---|
| public static final int ALC_DEVICE_SPECIFIER String queries. | |
| ALC_EXTENSIONS | back to summary |
|---|---|
| public static final int ALC_EXTENSIONS String queries. | |
| ALC_FALSE | back to summary |
|---|---|
| public static final int ALC_FALSE General tokens. | |
| ALC_FREQUENCY | back to summary |
|---|---|
| public static final int ALC_FREQUENCY Context creation attributes. | |
| ALC_INVALID | back to summary |
|---|---|
| public static final int ALC_INVALID General tokens. | |
| ALC_INVALID_CONTEXT | back to summary |
|---|---|
| public static final int ALC_INVALID_CONTEXT Error conditions. | |
| ALC_INVALID_DEVICE | back to summary |
|---|---|
| public static final int ALC_INVALID_DEVICE Error conditions. | |
| ALC_INVALID_ENUM | back to summary |
|---|---|
| public static final int ALC_INVALID_ENUM Error conditions. | |
| ALC_INVALID_VALUE | back to summary |
|---|---|
| public static final int ALC_INVALID_VALUE Error conditions. | |
| ALC_MAJOR_VERSION | back to summary |
|---|---|
| public static final int ALC_MAJOR_VERSION Integer queries. | |
| ALC_MINOR_VERSION | back to summary |
|---|---|
| public static final int ALC_MINOR_VERSION Integer queries. | |
| ALC_NO_ERROR | back to summary |
|---|---|
| public static final int ALC_NO_ERROR Error conditions. | |
| ALC_OUT_OF_MEMORY | back to summary |
|---|---|
| public static final int ALC_OUT_OF_MEMORY Error conditions. | |
| ALC_REFRESH | back to summary |
|---|---|
| public static final int ALC_REFRESH Context creation attributes. | |
| ALC_SYNC | back to summary |
|---|---|
| public static final int ALC_SYNC Context creation attributes. | |
| ALC_TRUE | back to summary |
|---|---|
| public static final int ALC_TRUE General tokens. | |
| ALC10 | back to summary |
|---|---|
| protected ALC10() | |
| alcCloseDevice | back to summary |
|---|---|
| public static boolean alcCloseDevice(long deviceHandle) Allows the application to disconnect from a device. The return code will be ALC_TRUE or ALC_FALSE, indicating success or failure. Failure will occur if all the device's contexts and buffers have not been
destroyed. Once closed, the
| |
| alcCreateContext | back to summary | |||||
|---|---|---|---|---|---|---|
| public static long alcCreateContext(long deviceHandle, IntBuffer attrList) Creates an AL context.
| ||||||
| alcCreateContext | back to summary |
|---|---|
| public static long alcCreateContext(long deviceHandle, int[] attrList) Array version of:
| |
| alcDestroyContext | back to summary |
|---|---|
| public static void alcDestroyContext(long context) Destroys a context. The correct way to destroy a context is to first release it using alcMakeCurrent with a
| |
| alcGetContextsDevice | back to summary |
|---|---|
| public static long alcGetContextsDevice(long context) Queries for, and obtains a handle to, the device of a given context.
| |
| alcGetCurrentContext | back to summary |
|---|---|
| public static long alcGetCurrentContext() Queries for, and obtains a handle to, the current context for the application. If there is no current context,
| |
| alcGetEnumValue | back to summary |
|---|---|
| public static int alcGetEnumValue(long deviceHandle, ByteBuffer enumName) Returns extension enum values. Enumeration/token values are device independent, but tokens defined for extensions might not be present for a given device. Using a
| |
| alcGetEnumValue | back to summary |
|---|---|
| public static int alcGetEnumValue(long deviceHandle, CharSequence enumName) Returns extension enum values. Enumeration/token values are device independent, but tokens defined for extensions might not be present for a given device. Using a
| |
| alcGetError | back to summary |
|---|---|
| public static int alcGetError(long deviceHandle) Queries ALC errors. ALC uses the same conventions and mechanisms as AL for error handling. In particular, ALC does not use conventions derived from X11 (GLX) or Windows (WGL). Error conditions are specific to the device, and (like AL) a call to alcGetError resets the error state.
| |
| alcGetInteger | back to summary | |||||
|---|---|---|---|---|---|---|
| public static int alcGetInteger(long deviceHandle, int token) Obtains integer value(s) from ALC.
| ||||||
| alcGetIntegerv | back to summary | |||||
|---|---|---|---|---|---|---|
| public static void alcGetIntegerv(long deviceHandle, int token, IntBuffer dest) Obtains integer value(s) from ALC.
| ||||||
| alcGetIntegerv | back to summary |
|---|---|
| public static void alcGetIntegerv(long deviceHandle, int token, int[] dest) Array version of:
| |
| alcGetProcAddress | back to summary |
|---|---|
| public static long alcGetProcAddress(long deviceHandle, ByteBuffer funcName) Retrieves extension entry points. The application is expected to verify the applicability of an extension or core function entry point before requesting it by name, by use of
Entry points can be device specific, but are not context specific. Using a
| |
| alcGetProcAddress | back to summary |
|---|---|
| public static long alcGetProcAddress(long deviceHandle, CharSequence funcName) Retrieves extension entry points. The application is expected to verify the applicability of an extension or core function entry point before requesting it by name, by use of
Entry points can be device specific, but are not context specific. Using a
| |
| alcGetString | back to summary | |||||
|---|---|---|---|---|---|---|
| public static String alcGetString(long deviceHandle, int token) Obtains string value(s) from ALC. LWJGL note: Use
| ||||||
| alcIsExtensionPresent | back to summary |
|---|---|
| public static boolean alcIsExtensionPresent(long deviceHandle, ByteBuffer extName) Verifies that a given extension is available for the current context and the device it is associated with. Invalid and unsupported string tokens return ALC_FALSE. A
| |
| alcIsExtensionPresent | back to summary |
|---|---|
| public static boolean alcIsExtensionPresent(long deviceHandle, CharSequence extName) Verifies that a given extension is available for the current context and the device it is associated with. Invalid and unsupported string tokens return ALC_FALSE. A
| |
| alcMakeContextCurrent | back to summary |
|---|---|
| public static boolean alcMakeContextCurrent(long context) Makes a context current with respect to OpenAL operation. The context parameter can be For each OS process (usually this means for each application), only one context can be current at any given time. All AL commands apply to the current context. Commands that affect objects shared among contexts (e.g. buffers) have side effects on other contexts.
| |
| alcOpenDevice | back to summary |
|---|---|
| public static long alcOpenDevice(ByteBuffer deviceSpecifier) Allows the application to connect to a device. If the function returns
| |
| alcOpenDevice | back to summary |
|---|---|
| public static long alcOpenDevice(CharSequence deviceSpecifier) Allows the application to connect to a device. If the function returns
| |
| alcProcessContext | back to summary |
|---|---|
| public static void alcProcessContext(long context) The current context is the only context accessible to state changes by AL commands (aside from state changes affecting shared objects). However,
multiple contexts can be processed at the same time. To indicate that a context should be processed (i.e. that internal execution state such as the
offset increments are to be performed), the application uses Repeated calls to alcProcessContext are legal, and do not affect a context that is already marked as processing. The default state of a context created by alcCreateContext is that it is processing.
| |
| alcSuspendContext | back to summary |
|---|---|
| public static void alcSuspendContext(long context) The application can suspend any context from processing (including the current one). To indicate that a context should be suspended from processing
(i.e. that internal execution state such as offset increments are not to be changed), the application uses Repeated calls to alcSuspendContext are legal, and do not affect a context that is already marked as suspended.
| |
| nalcCreateContext | back to summary |
|---|---|
| public static long nalcCreateContext(long deviceHandle, long attrList) Unsafe version of: | |
| nalcGetEnumValue | back to summary |
|---|---|
| public static int nalcGetEnumValue(long deviceHandle, long enumName) Unsafe version of: | |
| nalcGetIntegerv | back to summary |
|---|---|
| public static void nalcGetIntegerv(long deviceHandle, int token, int size, long dest) Unsafe version of:
| |
| nalcGetProcAddress | back to summary |
|---|---|
| public static long nalcGetProcAddress(long deviceHandle, long funcName) Unsafe version of: | |
| nalcGetString | back to summary |
|---|---|
| public static long nalcGetString(long deviceHandle, int token) Unsafe version of: | |
| nalcIsExtensionPresent | back to summary |
|---|---|
| public static boolean nalcIsExtensionPresent(long deviceHandle, long extName) Unsafe version of: | |
| nalcOpenDevice | back to summary |
|---|---|
| public static long nalcOpenDevice(long deviceSpecifier) Unsafe version of: | |