public interface SampleReader
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getSampleRate() |
int |
read(float[] buffer,
int initialIndex,
int nSamples)
Writes nSamples samples to the given buffer, starting at initialIndex, if possible
|
int getSampleRate()
int read(float[] buffer, int initialIndex, int nSamples)
buffer
- initialIndex
- nSamples
- void clear()