Top Description Fields Constructors Methods
org.lwjgl.test.openal

public Class SourceLimitTest

extends BasicTest
Class Inheritance
Imports
java.nio.IntBuffer, org.lwjgl.BufferUtils, org.lwjgl.openal.AL10, .OpenALException

Simple test for testing the number of available sources
Author
Brian Matzon
Version
$Revision$ $Id$

Field Summary

Modifier and TypeField and Description
protected int
sourcesToCreate

Sources to create

Constructor Summary

AccessConstructor and Description
public
SourceLimitTest()

Creates an instance of SourceLimitTest

Method Summary

Modifier and TypeMethod and Description
protected void
CreateAllSources()

Tests the creation of n sources in on go

protected void
CreateSourcesStep()

Tests if n sources can be created one at a time

protected void
execute(String[] args)

Runs the actual test, using supplied arguments

public static void
main(String[]
String array containing arguments
args
)

main entry point

Inherited from org.lwjgl.test.openal.BasicTest:
alExitcreateFloatBufferexitpausesetDisplayMode

Field Detail

sourcesToCreateback to summary
protected int sourcesToCreate

Sources to create

Constructor Detail

SourceLimitTestback to summary
public SourceLimitTest()

Creates an instance of SourceLimitTest

Method Detail

CreateAllSourcesback to summary
protected void CreateAllSources()

Tests the creation of n sources in on go

CreateSourcesStepback to summary
protected void CreateSourcesStep()

Tests if n sources can be created one at a time

executeback to summary
protected void execute(String[] args)

Runs the actual test, using supplied arguments

mainback to summary
public static void main(String[] args)

main entry point

Parameters
args:String[]

String array containing arguments