Events are added to call log files (special logs generated by the SpeechPort which contain audio for each decode and a host of other information). The call log files are generated in the responses folder located in the installation directory, under the Lang directory. Any number of events may be added. Call logging needs to be enabled prior to calling this function. Call logging can be enabled via LV_SRE_SetPropertyEx or in the client_property.conf file.
- int LV_SRE_AddEventEx(HPORT hport, const char* EventName, const char* EventData);
A handle to the speech port.
Any non-NULL, non-zero length string identifying the event.
Some information about the event being added.
No errors; adding the event succeeded.
Either event logging is not enabled, EventName is NULL or of zero string length or you are trying to add EVENT_END_DECODE_SEQ event type without previously adding an EVENT_START_DECODE_SEQ type event.
The input hport is not a valid one.
An exception occurred while processing the request.