Share via


Note

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

Microsoft Speech Platform

SPWAVEFORMATTYPE

SPWAVEFORMATTYPE is used in the ISpRecognizer::GetFormat method (as SPSTREAMFORMATTYPE) to request either the input format for the original audio source, or the format actually arriving at the speech recognition (SR) engine. The Speech Platform may be performing on-the-fly conversion using an SpStreamFormatConverter object (see ISpStreamFormatConverter) in-between the audio source and the SR engine, which will cause the two formats to differ.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef enum SPWAVEFORMATTYPE { SPWF_INPUT, SPWF_SRENGINE } SPSTREAMFORMATTYPE;</strong> </pre>

Elements

  • SPWF_INPUT
    Request for the original audio input source information.
  • SPWF_SRENGINE
    Request for the SR engine input source information.