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.
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