The recog_stop instruction unqueues a recognizer.
Synopsis
#include < irDefines.h >
recog_stop(type.recognizer)
Description
The recog_stop instruction unqueues a recognizer previously queued using recog_start. The recognizer is not started upon a subsequent call to getinput. The argument type.recognizer specifies the recognizer to unqueue. Valid values are IRD_WHOLE_WORD, IRD_PROXY_DPR, IRD_PROXY_ASR4, IRD_PROXY_ASR5, IRD_PROXY_ASR6, IRD_PROXY_ASR7, IRD_PROXY_ASR8, or IRD_PROXY_ASR9, as defined in irDefines.h.
Return values
The return value from recog_stop is placed in r.0 as follows:
0 |
Recognizer has successfully unqueued. |
-1 |
Recognizer was not previously queued. |
See also