提交 4fc49afe authored 作者: Michael Jerris's avatar Michael Jerris

add speak text debug message

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1627 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 50012d61
...@@ -538,6 +538,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session ...@@ -538,6 +538,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session
flags = 0; flags = 0;
switch_sleep(200000); switch_sleep(200000);
switch_core_speech_feed_tts(sh, text, &flags); switch_core_speech_feed_tts(sh, text, &flags);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Speaking text: %s\n", text);
write_frame.rate = sh->rate; write_frame.rate = sh->rate;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论