Microsoft Speech SDK
SAPI 5.1
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 engine. SAPI may be performing on the fly conversion using an SpStreamFormatConverter in-between which will cause the two formats to differ.
typedef enum SPWAVEFORMATTYPE
{
SPWF_INPUT,
SPWF_SRENGINE
} SPSTREAMFORMATTYPE;
Elements
- SPWF_INPUT
- Request for the original audio input source information.
- SPWF_SRENGINE
- Request for the SR engine input source information.