com.jogamp.openal.util
Class WAVData

java.lang.Object
  extended by com.jogamp.openal.util.WAVData

public final class WAVData
extends Object

This class is a holder for WAV (.wav )file Data returned from the WavLoader

Author:
Athomas Goldberg

Field Summary
 ByteBuffer data
          The audio data
 int format
          the format of the Data.
 int freq
          The frequency of the data
 boolean loop
          flag indicating whether or not the sound in the data should loop
 int size
          Size (in bytes) of the data
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public final ByteBuffer data
The audio data


format

public final int format
the format of the Data. One of:
 AL.AL_FORMAT_MONO8
 AL.AL_FORMAT_MONO16
 AL.AL_FORMAT_STEREO8
 AL.AL_FORMAT_STEREO16
 


size

public final int size
Size (in bytes) of the data


freq

public final int freq
The frequency of the data


loop

public final boolean loop
flag indicating whether or not the sound in the data should loop