HRESULT Interference(QWORD qTimeStampBegin, QWORD qTimeStampEnd,
DWORD dwType);
Notifies the application that the engine cannot recognize speech properly for a known reason.
� Return value is ignored.
qTimeStampBegin
[in] Time, in bytes, when the interference began.
qTimeStampEnd
[in] Time, in bytes, when the engine notified the application of the interference.
dwType
[in] Flag that indicates the type of interference. This parameter can be one of these values:
Value | Meaning |
SRMSGINT_AUDIODATA_STARTED | The engine has resumed receiving audio data from the audio source. |
SRMSGINT_AUDIODATA_STOPPED | The engine has stopped receiving audio data from the audio source. |
SRMSGINT_IAUDIO_STARTED | The engine has started (opened) the audio input device |
SRMSGINT_IAUDIO_STOPPED | The engine has stopped (closed) the audio input device. |
SRMSGINT_NOISE | The background noise is too high. |
SRMSGINT_NOSIGNAL | The engine cannot detect a signal. This may mean that the microphone has been turned off or unplugged. |
SRMSGINT_TOOLOUD | The user is speaking too loudly and recognition results may be degraded. |
SRMSGINT_TOOQUIET | The user is speaking too quietly and recognition results may be degraded. |