|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.openal.AL
public final class AL
The AL class implements the actual creation code for linking to the native library OpenAL.
Method Summary | |
---|---|
static void |
create()
Creates an OpenAL instance. |
static void |
create(java.lang.String deviceArguments,
int contextFrequency,
int contextRefresh,
boolean contextSynchronized)
Creates an OpenAL instance. |
static void |
create(java.lang.String deviceArguments,
int contextFrequency,
int contextRefresh,
boolean contextSynchronized,
boolean openDevice)
|
static void |
destroy()
Exit cleanly by calling destroy. |
static ALCcontext |
getContext()
|
static ALCdevice |
getDevice()
|
static boolean |
isCreated()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isCreated()
public static void create(java.lang.String deviceArguments, int contextFrequency, int contextRefresh, boolean contextSynchronized) throws LWJGLException
deviceArguments
- Arguments supplied to native devicecontextFrequency
- Frequency for mixing output buffer, in units of Hz (Common values include 11025, 22050, and 44100).contextRefresh
- Refresh intervalls, in units of Hz.contextSynchronized
- Flag, indicating a synchronous context.*
LWJGLException
public static void create(java.lang.String deviceArguments, int contextFrequency, int contextRefresh, boolean contextSynchronized, boolean openDevice) throws LWJGLException
openDevice
- Whether to automatically open the device
LWJGLException
create(String, int, int, boolean)
public static void create() throws LWJGLException
LWJGLException
public static void destroy()
public static ALCcontext getContext()
public static ALCdevice getDevice()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |