|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AudioProcessor
AudioProcessors are responsible for actual digital signal processing. The interface is simple: a process method that works on an AudioEvent object. The AudioEvent contains a buffer with some floats and the same information in raw bytes.
AudioProcessors are meant to be chained e.g. execute an effect and then play the sound. The chain of audio processor can be interrupted by returning false in the process methods.
Method Summary | |
---|---|
boolean |
process(AudioEvent audioEvent)
Process the audio event. |
void |
processingFinished()
Notify the AudioProcessor that no more data is available and processing has finished. |
Method Detail |
---|
boolean process(AudioEvent audioEvent)
audioEvent
- The audio event that contains audio data.
void processingFinished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |