Browse
 
Tools
Rss Categories

LVSpeechPort::GetTotalDecodeMS

Reference Number: AA-00791 Views: 1437 0 Rating/ Voters

Returns the overall time (in milliseconds) taken for a decode operation, from the time the decode request was sent to the ASR server to the time the results were received and processed.

Function

  • int GetTotalDecodeMS(int VoiceChannel)

Parameters

VoiceChannel

The channel containing the decoded audio.

Return Values

Positive integer

The total time taken for the entire decode operation.

  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.

See Also