mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
add speak text debug message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1627 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
50012d6124
commit
4fc49afe9e
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user