Stream Status

The following values are returned by LV_SRE_StreamGetStatus or LVSpeechPort::StreamGetStatus():

STREAM_STATUS_NOT_READY

The stream has not been set up; StreamStart has not been called for this port.

STREAM_STATUS_READY

The port is ready to accept streaming data.

STREAM_STATUS_BARGE_IN

The Engine has determined that speech has started (i.e. barge-in has occurred) and stream data is now being stored. Audio prompts no longer need to be played.

STREAM_STATUS_END_SPEECH

Only returned if STREAM_PARM_DETECT_END_OF_SPEECH stream type set. The Engine has determined that speech has stopped. New stream data will not be accepted until one of the StreamStart functions is called.

STREAM_STATUS_STOPPED

Stream has stopped. Call StreamStart to reset stream.

STREAM_STATUS_BARGE_IN_TIMEOUT

The barge-in was not triggered before the timeout. No audio will be sent for decode.

STREAM_STATUS_END_SPEECH_TIMEOUT

End-of-speech was not detected before timeout. Call StreamStop to force a decode if you are using AutoDecode.

 


Complete Help Topic List | Speech Engine Product Information