public interface AudioConsumer
MicrophoneCaptureThread
.Modifier and Type | Method and Description |
---|---|
void |
consume(byte[] data)
Consume.
|
void |
consume(byte[] data,
double amplitude,
double volume)
Data that has been recorded in the most recent sample and is ready for consumption.
|
void consume(byte[] data, double amplitude, double volume)
data
- Buffer of audio data in raw form.amplitude
- Amplitude from sample.volume
- Volume from sample.void consume(byte[] data)
data
- the data