[Freeswitch-svn] [commit] r5728 - freeswitch/trunk/src/mod/asr_tts/mod_openmrcp

Freeswitch SVN greenlizard at freeswitch.org
Thu Sep 20 16:10:00 EDT 2007


Author: greenlizard
Date: Thu Sep 20 16:10:00 2007
New Revision: 5728

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c

Log:
just some comments regarding fs callback behavior

Modified: freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	Thu Sep 20 16:10:00 2007
@@ -351,7 +351,12 @@
 	return SWITCH_STATUS_SUCCESS;
 }
 
-/*! function to feed audio to the ASR*/
+/** 
+ * function to feed audio to the ASR
+ * asr_open and asr_feed appear to be called asynchronously -- in other 
+ * words asr_open is not completed yet, but asr_feed is already called 
+ * from another thread.
+ */
 static switch_status_t openmrcp_asr_feed(switch_asr_handle_t *ah, void *data, unsigned int len, switch_asr_flag_t *flags)
 {
 	openmrcp_session_t *asr_session = (openmrcp_session_t *) ah->private_info;



More information about the Freeswitch-svn mailing list