Top Description Constructors Methods
org.lwjgl.test.openal

public final Class EFX10Test

extends Object
Class Inheritance
Imports
java.nio.IntBuffer, org.lwjgl.BufferUtils, org.lwjgl.openal.AL, .AL10, .AL11, .ALC10, .ALCcontext, .ALCdevice, .EFX10, .EFXUtil, org.lwjgl.util.WaveData

Class with a few examples testing and demonstrating the use of the OpenAL extension ALC_EXT_EFX.

This class is not compatible with the LWJGL debug build (lwjgl-debug.jar), as the debug build throws exceptions instead of alGetError checks. The redundant exception handling code was not added in order to keep these examples simple.

Author
Ciardhubh
Version
$Revision$ $Id$

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
efxUtilTest()

Checks OpenAL for every EFX 1.0 effect and filter and prints the result to the console.

public static void
main(final String[] args)

private static void
playbackTest()

Plays a sound with various effects applied to it.

private static void
setupEfx()

Loads OpenAL and makes sure ALC_EXT_EFX is supported.

private static void
silentTests()

Runs a series of API calls similar to the tutorials in the Effects Extension Guide of the OpenAL SDK.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EFX10Testback to summary
public EFX10Test()

Method Detail

efxUtilTestback to summary
private static void efxUtilTest() throws Exception

Checks OpenAL for every EFX 1.0 effect and filter and prints the result to the console.

mainback to summary
public static void main(final String[] args) throws Exception
playbackTestback to summary
private static void playbackTest() throws Exception

Plays a sound with various effects applied to it.

setupEfxback to summary
private static void setupEfx() throws Exception

Loads OpenAL and makes sure ALC_EXT_EFX is supported.

silentTestsback to summary
private static void silentTests() throws Exception

Runs a series of API calls similar to the tutorials in the Effects Extension Guide of the OpenAL SDK. Nothing is played in this method.