return SWITCH_STATUS_SUCCESS;\r
}\r
\r
-/*! function to feed audio to the ASR*/\r
+/** \r
+ * function to feed audio to the ASR\r
+ * asr_open and asr_feed appear to be called asynchronously -- in other \r
+ * words asr_open is not completed yet, but asr_feed is already called \r
+ * from another thread.\r
+ */\r
static switch_status_t openmrcp_asr_feed(switch_asr_handle_t *ah, void *data, unsigned int len, switch_asr_flag_t *flags)\r
{\r
openmrcp_session_t *asr_session = (openmrcp_session_t *) ah->private_info;\r