提交 9a568874 authored 作者: Anthony Minessale's avatar Anthony Minessale

earier patch to hide warning in cepstral does more bad than good so I guess the error is better

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4475 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 70db8abf
......@@ -223,7 +223,7 @@ static switch_status_t cepstral_speech_feed_tts(switch_speech_handle_t *sh, char
return SWITCH_STATUS_FALSE;
}
if ((to_say = switch_mprintf(".<break time=\"500ms\"/> %s <break time=\"500ms\"/>", text))) {
if ((to_say = switch_mprintf("<break time=\"500ms\"/> %s <break time=\"500ms\"/>", text))) {
swift_port_speak_text(cepstral->port, to_say, 0, NULL, &cepstral->tts_stream, NULL);
switch_safe_free(to_say);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论