Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
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.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef enum SPENDSRSTREAMFLAGS {</strong> <strong>SPESF_NONE,</strong> <strong>SPESF_STREAM_RELEASED,</strong> <strong>SPESF_EMULATED</strong> <strong>} SPENDSRSTREAMFLAGS;</strong> </pre>
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.