com.jmex.audio.openal
Class OpenALAudioBuffer

java.lang.Object
  extended by com.jmex.audio.AudioBuffer
      extended by com.jmex.audio.openal.OpenALAudioBuffer

public class OpenALAudioBuffer
extends AudioBuffer

Version:
$Id: OpenALAudioBuffer.java 4133 2009-03-19 20:40:11Z blaine.dev $
Author:
Joshua Slack
See Also:
AudioBuffer

Constructor Summary
protected OpenALAudioBuffer(int id)
           
 
Method Summary
 void delete()
           
protected  void finalize()
           
static OpenALAudioBuffer generateBuffer()
           
 int getBitDepth()
           
 java.nio.ByteBuffer getData()
           
 int getFrequency()
           
 int getId()
           
 int getNumChannels()
           
 int getSize()
           
 void setup(java.nio.ByteBuffer data, int channels, int bitRate, float length, int depth)
           
 
Methods inherited from class com.jmex.audio.AudioBuffer
getBitRate, getChannels, getDepth, getLength
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenALAudioBuffer

protected OpenALAudioBuffer(int id)
Method Detail

setup

public void setup(java.nio.ByteBuffer data,
                  int channels,
                  int bitRate,
                  float length,
                  int depth)
Overrides:
setup in class AudioBuffer

delete

public void delete()

getBitDepth

public int getBitDepth()

getNumChannels

public int getNumChannels()

getData

public java.nio.ByteBuffer getData()

getFrequency

public int getFrequency()

getSize

public int getSize()

getId

public int getId()

generateBuffer

public static OpenALAudioBuffer generateBuffer()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable