mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
add mod_cepstral, more tweaks to the tts interface
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@687 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
e42dd48d7f
commit
5fdc0232c4
6 files changed
+240
-16
No files matched your search
+3
-3
@@ -477,7 +477,7 @@ SWITCH_DECLARE(switch_status) switch_core_speech_open(switch_speech_handle *sh,
|
||||
char *module_name,
|
||||
char *voice_name,
|
||||
int rate,
|
||||
unsigned int flags,
|
||||
switch_speech_flag flags,
|
||||
switch_memory_pool *pool)
|
||||
{
|
||||
switch_status status;
|
||||
@@ -500,14 +500,14 @@ SWITCH_DECLARE(switch_status) switch_core_speech_open(switch_speech_handle *sh,
|
||||
return sh->speech_interface->speech_open(sh, voice_name, rate, flags);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status) switch_core_speech_feed_asr(switch_speech_handle *sh, void *data, unsigned int *len, int rate, unsigned int *flags)
|
||||
SWITCH_DECLARE(switch_status) switch_core_speech_feed_asr(switch_speech_handle *sh, void *data, unsigned int *len, int rate, switch_speech_flag *flags)
|
||||
{
|
||||
assert(sh != NULL);
|
||||
|
||||
return sh->speech_interface->speech_feed_asr(sh, data, len, rate, flags);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status) switch_core_speech_interpret_asr(switch_speech_handle *sh, char *buf, unsigned int buflen, unsigned int *flags)
|
||||
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user