public final class AL
extends java.lang.Object
The AL class implements the actual creation code for linking to the native library OpenAL.
Modifier and Type | Method and Description |
---|---|
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() |
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 deviceLWJGLException
create(String, int, int, boolean)
public static void create() throws LWJGLException
LWJGLException
public static void destroy()
public static ALCcontext getContext()
public static ALCdevice getDevice()
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.