Provides the last decode error on a specific voice channel. To be used in case LV_DECODE_BLOCK is not used; should be called after WaitForEngineToIdle returns success.
int GetLastDecodeError(int hport, int voicechannel)
hport
A handle to the speech port
The channel containing the decoded audio
GetLastDecodeError returns an integer that corresponds to an error code (you can get the results of an error code with LVSpeechPort::ReturnErrorString).
The error codes it can return are:
0 indicates a success.
-1 is a general purpose error.
-33 occurs when you are using a Lite license and the vocabulary size of the active grammar set exceeds 500.
-35 means more than one language is specified in the active grammar set.
-36 happens when there language specified in a grammar is invalid.
LV_SRE_GetLastDecodeError (C API)
Complete Help Topic List | Speech Engine Product Information