asr_hold()

Place a hold on the recognizer.

Synopsis:

#include "asr/asr.h"
 
int asr_hold()

Arguments:

Library:

libasr

Description:

The asr_hold() function invokes the stop() callback function defined in the recognizer interface, asr_recognizer_if, and increments the recognizer hold count. The recognizer stops acquiring audio and processing results for the current request.

Returns:

The number of holds.