public final class AL extends Object
The AL class implements the actual creation code for linking to the native library OpenAL.
| Modifier and Type | Method | Description |
|---|---|---|
static void |
create() |
Creates an OpenAL instance.
|
static void |
create(String deviceArguments,
int contextFrequency,
int contextRefresh,
boolean contextSynchronized) |
Creates an OpenAL instance.
|
static void |
create(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(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.*LWJGLExceptionpublic static void create(String deviceArguments, int contextFrequency, int contextRefresh, boolean contextSynchronized, boolean openDevice) throws LWJGLException
openDevice - Whether to automatically open the deviceLWJGLExceptioncreate(String, int, int, boolean)public static void create()
throws LWJGLException
LWJGLExceptionpublic static void destroy()
public static ALCcontext getContext()
public static ALCdevice getDevice()
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.