Share via


Note

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

Microsoft Speech Platform

SPAUDIOOPTIONS

SPAUDIOOPTIONS lists the options for an audio stream.

See also the ISpRecoContext::SetAudioOptions and ISpRecoContext::GetAudioOptions methods.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef enum SPAUDIOOPTIONS</strong> <strong>{</strong> <strong>SPAO_NONE,</strong> <strong>SPAO_RETAIN_AUDIO</strong> <strong>} SPAUDIOOPTIONS</strong>; </pre>

Elements

  • SPAO_NONE
    Flag indicating no options for the audio stream should be used.
  • SPAO_RETAIN_AUDIO
    Flag indicating the audio stream should be retained (for example, to serialize the recognition object, playback the recognized audio, and so on). See also ISpRecoResult::SpeakAudio and ISpRecoResult::GetAudio.