Share via


ISpSREngineSite::UpdateRecoPos (SAPI 5.3)

Microsoft Speech API 5.3

ISpSREngineSite::UpdateRecoPos

ISpSREngineSite::UpdateRecoPos returns the current position of the recognizer in the stream to SAPI. An engine should call this regularly, up to several times a second, regardless of whether it is recognizing speech or silence.

This method can only be called while the SR engine is inside a ISpSREngine::RecognizeStream call, although it can be called on any thread.

  
    HRESULT UpdateRecoPos(
   ULONGLONG   ullStreamPos
);

Parameters

  • ullStreamPos
    [out] The current stream position of the recognizer.

Return values

Value
S_OK