Top Description Constructors Methods
org.lwjgl.openal

public final Class Util

extends Object
Class Inheritance

Simple utility class for checking AL/ALC errors
Authors
cix_foo , Brian Matzon
Version
$Revision$

Constructor Summary

AccessConstructor and Description
private
Util()

No c'tor

Method Summary

Modifier and TypeMethod and Description
public static void
checkALCError(ALCdevice
Device for which to check ALC errors
device
)

Checks for any ALC errors and throws an unchecked exception on errors

public static void
checkALCValidContext(ALCcontext
ALCcontext to check the validity of
context
)

Checks for a valid context

public static void
checkALCValidDevice(ALCdevice
ALCdevice to check the validity of
device
)

Checks for a valid device

public static void
checkALError()

Checks for any AL errors and throws an unchecked exception on errors

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utilback to summary
private Util()

No c'tor

Method Detail

checkALCErrorback to summary
public static void checkALCError(ALCdevice device)

Checks for any ALC errors and throws an unchecked exception on errors

Parameters
device:ALCdevice

Device for which to check ALC errors

checkALCValidContextback to summary
public static void checkALCValidContext(ALCcontext context)

Checks for a valid context

Parameters
context:ALCcontext

ALCcontext to check the validity of

checkALCValidDeviceback to summary
public static void checkALCValidDevice(ALCdevice device)

Checks for a valid device

Parameters
device:ALCdevice

ALCdevice to check the validity of

checkALErrorback to summary
public static void checkALError()

Checks for any AL errors and throws an unchecked exception on errors