Juho Hiltunen
54d93cf2b4
code cleanup: move ssml reference handling logic to a new function ParseSsmlReference()
...
It's unclear why c2 needs to be set after an entity reference.
2020-08-23 20:43:29 +03:00
Juho Hiltunen
75d66c89d0
code cleanup: Move self_closing checks to ProcessSsmlTag()
...
This is a bit slower since we don't pass n_xml_buf as an argument but
rather get it with a call to wcslen. It is much cleaner though, since
the name ProcessSsmlTag() implies that all processing should be done
there.
2020-08-23 20:41:52 +03:00
Juho Hiltunen
706df97b20
headers: add new file readclause.h with declarations of functions in readclause.c
2018-03-10 07:18:07 +02:00
Juho Hiltunen
738492100a
make all headers (almost) self-contained by using include guards and #include statements within headers
2018-03-09 21:08:15 +02:00
Reece H. Dunn
b23f475e1a
ssml.h: Reformat the header file.
2018-03-04 09:32:29 +00:00
Reece H. Dunn
d47e48a377
ssml: Update the copyright notice.
2018-03-04 09:27:52 +00:00
Reece H. Dunn
017c6a9383
ssml.h: Add a copyright header and include guards.
2018-03-04 09:25:06 +00:00
Reece H. Dunn
49b97105e5
ssml: Move ssmltags to ssml.c where it is used.
...
This avoids 'unused parameter' errors in readclause.c.
2018-03-04 09:18:34 +00:00
Juho Hiltunen
985e7d5b39
set functions in ssml.c static.
...
The only entry point in the file is ProcessSsmlTags().
2018-03-03 23:46:58 +02:00
Juho Hiltunen
a47ff4f41d
move ProcessSsmlTag() from readclause.to to ssml.c
...
use parameters instead of globals
2018-03-03 23:45:03 +02:00
Juho Hiltunen
a6b1896ce3
move SetProsodyParameter()
2018-03-03 23:44:16 +02:00
Juho Hiltunen
6c4d22b6d2
move ReplaceKeyName()
2018-03-03 23:43:48 +02:00
Juho Hiltunen
21e391b631
move GetSsmlAttributes()
2018-03-03 23:43:14 +02:00
Juho Hiltunen
d6ed3a3320
move PopParamStack()
2018-03-03 23:42:58 +02:00
Juho Hiltunen
b793920ff7
move PushParamStack()
2018-03-03 23:41:55 +02:00
Juho Hiltunen
2b10dba10f
move ProcessParamStack()
2018-03-03 23:40:52 +02:00
Juho Hiltunen
da125f1a1b
move GetVoiceFromStack()
2018-03-03 23:39:09 +02:00
Juho Hiltunen
16a5b5d15c
move attr_prosody_value()
2018-03-03 23:38:52 +02:00
Juho Hiltunen
f00d5798de
add ssml.h for defines
2018-03-03 23:38:09 +02:00