asrv_get_context()

Get the active context.

Synopsis:

#include "asr/asrv.h"
 
int asrv_get_context(asr_context_hdl_t **chdl)

Arguments:

chdl

The context handle.

Library:

libasr

Description:

The asrv_get_context() function returns the preloaded context that the current exclusive module has selected to use for recognition.

Returns:

1 on success.

0 if no context is active.