Browse
 
Tools
Rss Categories

LVSpeechPort::GetDecodeMS

Reference Number: AA-00765 Views: 6852 0 Rating/ Voters

Returns the time (in milliseconds) elapsed on the ASR server processing the decode task.

Function

  • int GetDecodeMS(int VoiceChannel)

Parameters

VoiceChannel

The channel containing the decoded audio.

Return Values

Positive integer

The time taken for the decode task.

0

Either the input VoiceChannel is invalid or the port itself 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 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