Searched refs:model_context (Results 1 – 1 of 1) sorted by relevance
206 struct recognition_context *model_context = NULL; in fetch_model_with_handle() local210 model_context = last_model_context; in fetch_model_with_handle()215 return model_context; in fetch_model_with_handle()312 struct recognition_context *model_context = fetch_model_with_handle(stdev, model_handle_str); in send_event_with_handle() local313 if (model_context) { in send_event_with_handle()315 if (model_context->recognition_callback == NULL) { in send_event_with_handle()320 if (model_context->model_type == SOUND_MODEL_TYPE_KEYPHRASE) { in send_event_with_handle()323 sound_trigger_keyphrase_event_alloc(model_context->model_handle, in send_event_with_handle()324 model_context->config, status); in send_event_with_handle()326 model_context->recognition_callback(event, model_context->recognition_cookie); in send_event_with_handle()[all …]