Microsoft Speech Platform
SPENDSRSTREAMFLAGS
SPENDSRSTREAMFLAGS is used to indicate the state of the input stream object when the end of a speech recognition (SR) input stream has been reached and, thus, enables an application to query for state changes. It is contained in the wParam of SPEVENT or SPEVENTEX when an SPEI_END_SR_STREAM event is raised.
typedef enum SPENDSRSTREAMFLAGS
{
SPESF_NONE,
SPESF_STREAM_RELEASED,
SPESF_EMULATED
} SPENDSRSTREAMFLAGS;
Elements
- SPESF_NONE
- No flags are associated with the end of stream event.
- SPESF_STREAM_RELEASED
- The input stream object was released upon reaching the end of the current stream. For example, a wave file is a finite stream of data, and once the end of the stream, and file, is reached, the stream object is released. See also CSpEvent::InputStreamReleased.
- SPESF_EMULATED
- Indicates that there was no actual audio input stream, but that the input stream was emulated.