public class Oscilloscope extends java.lang.Object implements AudioProcessor
| Modifier and Type | Class and Description |
|---|---|
static interface |
Oscilloscope.OscilloscopeEventHandler |
| Constructor and Description |
|---|
Oscilloscope(Oscilloscope.OscilloscopeEventHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(AudioEvent audioEvent)
Process the audio event.
|
void |
processingFinished()
Notify the AudioProcessor that no more data is available and processing
has finished.
|
public Oscilloscope(Oscilloscope.OscilloscopeEventHandler handler)
public boolean process(AudioEvent audioEvent)
AudioProcessorprocess in interface AudioProcessoraudioEvent - The audio event that contains audio data.public void processingFinished()
AudioProcessorprocessingFinished in interface AudioProcessor