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

public Class PlayTestMemory

extends BasicTest
Class Inheritance
Imports
java.io.BufferedInputStream, .ByteArrayOutputStream, java.nio.ByteBuffer, .ByteOrder, .IntBuffer, org.lwjgl.BufferUtils, org.lwjgl.openal.AL10, org.lwjgl.util.WaveData

This is a basic play test Yes, over zealous use of getError ;)
Author
Brian Matzon
Version
$Revision$ $Id$

Field Summary

Modifier and TypeField and Description
private boolean

Constructor Summary

AccessConstructor and Description
public
PlayTestMemory()

Creates an instance of PlayTestMemory

Method Summary

Modifier and TypeMethod and Description
protected void
execute(String[] args)

Runs the actual test, using supplied arguments

protected ByteBuffer

Returns:

ByteBuffer containing file data
getData
(String
Name of file to load
filename
)

Reads the file into a ByteBuffer

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

main entry point

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

Field Detail

usingVorbisback to summary
private boolean usingVorbis

Constructor Detail

PlayTestMemoryback to summary
public PlayTestMemory()

Creates an instance of PlayTestMemory

Method Detail

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

Runs the actual test, using supplied arguments

getDataback to summary
protected ByteBuffer getData(String filename)

Reads the file into a ByteBuffer

Parameters
filename:String

Name of file to load

Returns:ByteBuffer

ByteBuffer containing file data

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

main entry point

Parameters
args:String[]

String array containing arguments