public class SoftAudioBuffer
extends java.lang.Object
Constructor and Description |
---|
SoftAudioBuffer(int size,
javax.sound.sampled.AudioFormat format) |
Modifier and Type | Method and Description |
---|---|
float[] |
array() |
void |
clear() |
void |
get(byte[] buffer,
int channel) |
javax.sound.sampled.AudioFormat |
getFormat() |
int |
getSize() |
boolean |
isSilent() |
void |
swap(SoftAudioBuffer swap) |
public SoftAudioBuffer(int size, javax.sound.sampled.AudioFormat format)
public void swap(SoftAudioBuffer swap)
public javax.sound.sampled.AudioFormat getFormat()
public int getSize()
public void clear()
public boolean isSilent()
public float[] array()
public void get(byte[] buffer, int channel)