com.jmex.audio
Class AudioBuffer

java.lang.Object
  extended by com.jmex.audio.AudioBuffer
Direct Known Subclasses:
OpenALAudioBuffer

public class AudioBuffer
extends java.lang.Object

Represents a chunk of sound data. This is a lower level class that users will not generally use directly.

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

Constructor Summary
AudioBuffer()
           
 
Method Summary
 int getBitRate()
           
 int getChannels()
           
 int getDepth()
           
 float getLength()
           
 void setup(java.nio.ByteBuffer data, int channels, int bitRate, float length, int depth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioBuffer

public AudioBuffer()
Method Detail

setup

public void setup(java.nio.ByteBuffer data,
                  int channels,
                  int bitRate,
                  float length,
                  int depth)

getLength

public float getLength()

getBitRate

public int getBitRate()

getChannels

public int getChannels()

getDepth

public int getDepth()