Partager via


SpeechRecoContext Adaptation Event (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechRecoContext Events

Adaptation Event

The Adaptation event occurs when the SR engine has finished processing a block of adaptation data.

The Adaptation event not only indicates the engine has processed the word but also that the engine is ready to accept another SetAdaptationData call.

See ISpeechRecoContext.SetAdaptationData for additional details.

  
    SpeechRecoContext.Adaptation(
     StreamNumber As Long,
     StreamPosition As Variant
)

Parameters

  • StreamNumber
    Specifies the stream number.
  • StreamPosition
    Specifies the position within the stream.

Example

See ISpeechRecoContext.SetAdaptationData for a code example.