Package org.lwjgl.openal
Class Util
java.lang.Object
org.lwjgl.openal.Util
Simple utility class for checking AL/ALC errors
- Version:
- $Revision$
- Author:
- cix_foo <cix_foo@users.sourceforge.net>, Brian Matzon <brian@matzon.dk>
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkALCError
(ALCdevice device) Checks for any ALC errors and throws an unchecked exception on errorsstatic void
checkALCValidContext
(ALCcontext context) Checks for a valid contextstatic void
checkALCValidDevice
(ALCdevice device) Checks for a valid devicestatic void
Checks for any AL errors and throws an unchecked exception on errors
-
Method Details
-
checkALCError
Checks for any ALC errors and throws an unchecked exception on errors- Parameters:
device
- Device for which to check ALC errors
-
checkALError
public static void checkALError()Checks for any AL errors and throws an unchecked exception on errors -
checkALCValidDevice
Checks for a valid device- Parameters:
device
- ALCdevice to check the validity of
-
checkALCValidContext
Checks for a valid context- Parameters:
context
- ALCcontext to check the validity of
-