mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 20:54:15 +00:00
make mac like cepstral
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@734 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
9252f0c15b
commit
c2398be31b
6 files changed
+19
-14
No files matched your search
+3
-3
@@ -481,7 +481,7 @@ SWITCH_DECLARE(switch_status) switch_core_speech_open(switch_speech_handle *sh,
|
||||
char *module_name,
|
||||
char *voice_name,
|
||||
unsigned int rate,
|
||||
switch_speech_flag flags,
|
||||
switch_speech_flag *flags,
|
||||
switch_memory_pool *pool)
|
||||
{
|
||||
switch_status status;
|
||||
@@ -491,7 +491,7 @@ SWITCH_DECLARE(switch_status) switch_core_speech_open(switch_speech_handle *sh,
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
sh->flags = flags;
|
||||
sh->flags = *flags;
|
||||
if (pool) {
|
||||
sh->memory_pool = pool;
|
||||
} else {
|
||||
@@ -514,7 +514,7 @@ SWITCH_DECLARE(switch_status) switch_core_speech_feed_asr(switch_speech_handle *
|
||||
SWITCH_DECLARE(switch_status) switch_core_speech_interpret_asr(switch_speech_handle *sh, char *buf, unsigned int buflen, switch_speech_flag *flags)
|
||||
{
|
||||
assert(sh != NULL);
|
||||
|
||||
|
||||
return sh->speech_interface->speech_interpret_asr(sh, buf, buflen, flags);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user