提交 d25d1293 authored 作者: Chris Rienzo's avatar Chris Rienzo

FS-6083 --resolve mod_ssml fixed <prosody>

上级 7e71d855
...@@ -259,17 +259,6 @@ static int process_tag(struct ssml_parser *parser, const char *name, char **atts ...@@ -259,17 +259,6 @@ static int process_tag(struct ssml_parser *parser, const char *name, char **atts
return IKS_BADXML; return IKS_BADXML;
} }
/**
* Handle tag attributes that are ignored
* @param parser the parser
* @param atts the attributes
* @return IKS_OK
*/
static int process_attribs_ignore(struct ssml_parser *parser, char **atts)
{
return IKS_OK;
}
/** /**
* Handle CDATA that is ignored * Handle CDATA that is ignored
* @param parser the parser * @param parser the parser
...@@ -395,6 +384,19 @@ static struct voice *find_say_voice(struct ssml_node *cur_node) ...@@ -395,6 +384,19 @@ static struct voice *find_say_voice(struct ssml_node *cur_node)
return find_voice(cur_node, globals.say_voice_map, "say", 1); return find_voice(cur_node, globals.say_voice_map, "say", 1);
} }
/**
* Handle tag attributes that are ignored
* @param parser the parser
* @param atts the attributes
* @return IKS_OK
*/
static int process_attribs_ignore(struct ssml_parser *parsed_data, char **atts)
{
struct ssml_node *cur_node = parsed_data->cur_node;
cur_node->tts_voice = find_tts_voice(cur_node);
return IKS_OK;
}
/** /**
* open next file for reading * open next file for reading
* @param handle the file handle * @param handle the file handle
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论