|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AudioDecoder
An interface that represents a general audio decoder It's purpose is to be implemented by the wav, mp3, ogg, etc. decoders
Method Summary | |
---|---|
float |
getSampleRate()
Gets the sample rate of the audio to be decoded |
int |
readSamples(float[] samples)
Reads in samples from the decoder and fills the array passed as parameter with the values read (It tries to read as many samples from the stream as there are elements in the array passed in). |
Method Detail |
---|
int readSamples(float[] samples)
samples
- The array to which it will write the samples read.
float getSampleRate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |