Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

SPRECORESULTTIMES

SPRECORESULTTIMES contains the time information for speech recognition. This data structure is used by the ISpRecoResult::GetResultTimes method.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef struct SPRECORESULTTIMES</strong> { <strong>FILETIME</strong> <em>ftStreamTime;</em> <strong>ULONGLONG</strong> <em>ullLength;</em> <strong>DWORD</strong> <em>dwTickCount;</em> <strong>ULONGLONG</strong> <em>ullStart;</em> } <strong>SPRECORESULTTIMES;</strong> </pre>

Members

  • ftStreamTime
    Absolute time for start of phrase audio as a 64-bit value based on the Win32 APIs, SystemTimeToFileTime and GetSystemTime. When an application uses wav file input, the Speech Platform sets the stream position and start time information to zero.
  • ullLength
    Value containing the length of the phrase specified in 100 nanosecond units.
  • dwTickCount
    Number of milliseconds elapsed from the start of the system to the start of the current result. This variable is set to zero if the wave file input is used.
  • ullStart
    Value containing the total 100 nanosecond units from the start of the stream to the start of the phrase.