Sets up a new stream so that audio can be sent to the ASR for decoding.
Function
- int LV_SRE_StreamStart(HPORT hport)
Parameters
hport
The port's handle.
Return Values
LV_SUCCESS
No errors; stream set up correctly.
LV_INVALID_HPORT
The input hport is not a valid one.
LV_FAILURE
The operation failed because the port was shutting down.
LV_EXCEPTION
An exception occurred while processing the request.
Remarks
You need to call this function after calling
LV_SRE_StreamStop,
LV_SRE_StreamCancel
or after end-of-speech has been detected on a previous utterance.
See Also