public class ALFactory extends Object
Select preferred OpenAL native library type via system properties,
i.e. System-OpenAL or bundled Soft-OpenAL.
If the preferred choice fails, implementation falls back to the other.
-Djoal.openal.lib=auto Prefer System-OpenAL over bundled Soft-OpenAL for OSX. Prefer bundled Soft-OpenAL over System-OpenAL for all others. This is the default.
-Djoal.openal.lib=system Prefer System-OpenAL over bundled Soft-OpenAL for all.
-Djoal.openal.lib=soft Prefer bundled Soft-OpenAL over System-OpenAL for all.
Note: You may use the 'jnlp.' prefix, allowing using above property names w/ Applets and WebStart,
e.g. 'jnlp.joal.openal.lib=system'.
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
static boolean |
PREFER_SYSTEM_OPENAL
If true, prefer System-OpenAL, otherwise bundled Soft-OpenAL (default).
|
public static final boolean DEBUG
public static final boolean PREFER_SYSTEM_OPENAL
public static boolean getPreferSystemOpenAL()
throws ALException
joal.SystemOpenAL is setALExceptionpublic static AL getAL() throws ALException
ALExceptionpublic static ALC getALC() throws ALException
ALExceptionpublic static ALExt getALExt() throws ALException
ALException