SpeechRetainedAudioOptions (SAPI 5.4)

Microsoft Speech API 5.4

SpeechRetainedAudioOptions Enum

The SpeechRetainedAudioOptions enumeration lists the options for retaining data from an audio stream.

Used in ISpeechRecoContext.RetainedAudio.


  Enum SpeechRetainedAudioOptions
    SRAONone = 0
    SRAORetainAudio = 1
End Enum


  • SRAONone
    Indicates that the audio should not be retained, but discarded after use.
  • SRAORetainAudio
    Flag indicates that the audio stream should be retained (e.g., serialization of recognition object, playback of recognized audio, etc.).