IVCmdNotifySink::Interference

This method notifies the application that the engine cannot recognize speech properly for a known reason.

Syntax

HRESULT Interference( DWORD dwType);

Parameters

dwType
[in] Specifies the type of interference. It is one of the following flags:
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_NOISE
The background noise is too high.
SRMSGINT_NOSIGNAL
The engine cannot detect a signal, possibly because the microphone is off or unplugged.
SRMSGINT_TOOLOUD
The speaker is too loud; recognition results may be degraded.
SRMSGINT_TOOQUIET
The speaker is too quiet; recognition results may be degraded.

Return Values

The return value is ignored.

Remarks

The notification is sent only to applications that set the dwFlags parameter of the IVoiceCmd::Register method to the VCMDRF_ALLBUTVUMETER value when the application registered to use voice commands on the site.