public class LXAudioBuffer extends Object
Modifier and Type | Field and Description |
---|---|
protected static float |
INV_16_BIT |
Modifier and Type | Method and Description |
---|---|
int |
bufferSize() |
protected void |
computeMix(LXAudioBuffer left,
LXAudioBuffer right) |
float |
getRms() |
void |
getSamples(float[] dest) |
protected void |
putSamples(byte[] rawBytes,
int offset,
int dataSize,
int frameSize) |
int |
sampleRate() |
protected static final float INV_16_BIT
public int bufferSize()
public int sampleRate()
public float getRms()
protected void computeMix(LXAudioBuffer left, LXAudioBuffer right)
protected void putSamples(byte[] rawBytes, int offset, int dataSize, int frameSize)
public void getSamples(float[] dest)
LX library by Mark C. Slee. © 2012-2020