]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
just some comments regarding fs callback behavior
authorTraun Leyden <tleyden@branchcut.com>
Thu, 20 Sep 2007 20:10:00 +0000 (20:10 +0000)
committerTraun Leyden <tleyden@branchcut.com>
Thu, 20 Sep 2007 20:10:00 +0000 (20:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5728 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c

index 4bb336c83766cabd52823b9585c088412b5df743..9b334fbce5ff012615c1ab3953c8d47530393fd0 100644 (file)
@@ -351,7 +351,12 @@ static switch_status_t openmrcp_asr_load_grammar(switch_asr_handle_t *ah, char *
        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