};
+mrp_mainloop_t *plugin_get_mainloop(plugin_t *plugin)
+{
+ return plugin->self->srs->ml;
+}
+
+
int32_t plugin_utterance_handler(context_t *ctx, srs_srec_utterance_t *utt)
{
plugin_t *pl;
mrp_debug("configuring CMU Sphinx speech recognition backend plugin");
- n = srs_collect_config(settings, SPHINX_PREFIX, &cfg);
+ n = srs_config_collect(settings, SPHINX_PREFIX, &cfg);
mrp_log_info("Found %d CMU Sphinx plugin configuration keys.", n);
return FALSE;
}
- srs_free_config(cfg);
+ srs_config_free(cfg);
return TRUE;
}