public interface BufferedAudio
Modifier and Type | Method and Description |
---|---|
float[] |
getChannel(int channelNumber)
Gets the samples for the requested channel number as a float array.
|
int |
length()
Gets the length in milliseconds of the buffered audio.
|
static final int LEFT
static final int RIGHT
float[] getChannel(int channelNumber)
channelNumber
- the channel you want the samples forint length()