Returns the time (in milliseconds) elapsed on the ASR server processing the decode task.
Function
- int LV_SRE_GetDecodeMS(HPORT hport, int VoiceChannel)
Parameters
hport
The port's handle.
VoiceChannel
The channel containing the decoded audio.
Return Values
Positive integer
The time taken for the decode task.
0
If the input hport or VoiceChannel are invalid.
LV_FAILURE
The operation failed because the port was shutting down.
LV_EXCEPTION
An exception occurred while processing the request.
Remarks
The return value indicates the actual time spent in the ASR server performing just the decode task and it does not include any time elapsed while waiting in task queues.
See Also