org.xith3d.sound.drivers.joal
Class SoundBufferImpl

java.lang.Object
  extended by org.xith3d.sound.drivers.joal.SoundBufferImpl
All Implemented Interfaces:
SoundBuffer

public class SoundBufferImpl
extends java.lang.Object
implements SoundBuffer

JOAL implementation of SoundBuffer.


Field Summary
protected  SoundDriverImpl driver
           
protected  int handle
           
 
Constructor Summary
protected SoundBufferImpl(SoundDriverImpl driver)
           
 
Method Summary
 void setData(BufferFormat format, int size, int frequency, java.nio.ByteBuffer data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driver

protected SoundDriverImpl driver

handle

protected int handle
Constructor Detail

SoundBufferImpl

protected SoundBufferImpl(SoundDriverImpl driver)
Method Detail

setData

public void setData(BufferFormat format,
                    int size,
                    int frequency,
                    java.nio.ByteBuffer data)
Specified by:
setData in interface SoundBuffer