LVSpeechPort::StreamStart

Sets up a new stream so that audio can be sent to the ASR for decoding.

Function

Parameters

None.

Return Values

LV_SUCCESS

No errors; stream set up correctly.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).

LV_FAILURE

The operation failed because the port was shutting down.

LV_EXCEPTION

An exception occured while processing the request.

Remarks

You need to call this function after calling StreamStop, StreamCancel or after end-of-speech has been detected on a previous utterance.

See Also

© 2012 LumenVox LLC. All rights reserved.