|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FloatSampleInput
Master interface for all classes providing audio data in FloatSampleBuffers.
Method Summary | |
---|---|
int |
getChannels()
|
float |
getSampleRate()
|
boolean |
isDone()
Determine if this stream has reached its end. |
void |
read(FloatSampleBuffer buffer)
Fill the entire buffer with audio data. |
void |
read(FloatSampleBuffer buffer,
int offset,
int sampleCount)
Fill the specified portion of the buffer with the next audio data to be read. |
Method Detail |
---|
void read(FloatSampleBuffer buffer)
The buffer's channel count and sample rate may not be changed by the implementation of this method.
buffer
- the buffer to be filledvoid read(FloatSampleBuffer buffer, int offset, int sampleCount)
offset
.
The buffer's channel count and sample rate may not be changed by the implementation of this method.
buffer
- the buffer to be filledoffset
- the start index, in samples, where to start filling the
buffersampleCount
- the number fo samples to fill into the bufferboolean isDone()
int getChannels()
float getSampleRate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |