mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-10 01:40:26 +00:00
just some comments regarding fs callback behavior
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5728 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
93b98b80ad
commit
017cabe02c
@ -351,7 +351,12 @@ static switch_status_t openmrcp_asr_load_grammar(switch_asr_handle_t *ah, char *
|
|||||||
return SWITCH_STATUS_SUCCESS;
|
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)
|
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;
|
openmrcp_session_t *asr_session = (openmrcp_session_t *) ah->private_info;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user