YobeSDK Android 0.3.2
 
Loading...
Searching...
No Matches
com.yobe.speech.AudioConsumer Interface Reference

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.
 

Detailed Description

Interface for classes that want to handle data processed by Yobe.

Member Function Documentation

◆ onDataFeed()

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.

Parameters
originalBufferThe most recent audio buffer before getting processed. 2 interleaved channels.
processedBufferThe most recent processed audio buffer. 1 channel.

Implemented in com.yobe.speech.BioListenerSpeech, and com.yobe.speech.IDListenerSpeech.

◆ onResponse()

void com.yobe.speech.AudioConsumer.onResponse ( Status  code)

This provides access to a code indicating the current status after every processing step.

Parameters
codeThe status code.

Implemented in com.yobe.speech.BioListenerSpeech, and com.yobe.speech.IDListenerSpeech.


The documentation for this interface was generated from the following file: