Interface for classes that want to handle data processed by Yobe. More...
Public Member Functions | |
void | onDataFeed (short[] originalBuffer, short[] processedBuffer) |
This callback provides access to the most recent processed audio buffer and its original buffer from before processing. | |
void | onResponse (Status code) |
This provides access to a code indicating the current status after every processing step. | |
Interface for classes that want to handle data processed by Yobe.
void com.yobe.speech.AudioConsumer.onDataFeed | ( | short[] | originalBuffer, |
short[] | processedBuffer | ||
) |
This callback provides access to the most recent processed audio buffer and its original buffer from before processing.
originalBuffer | The most recent audio buffer before getting processed. 2 interleaved channels. |
processedBuffer | The most recent processed audio buffer. 1 channel. |
Implemented in com.yobe.speech.BioListenerSpeech, and com.yobe.speech.IDListenerSpeech.
void com.yobe.speech.AudioConsumer.onResponse | ( | Status | code | ) |
This provides access to a code indicating the current status after every processing step.
code | The status code. |
Implemented in com.yobe.speech.BioListenerSpeech, and com.yobe.speech.IDListenerSpeech.