mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-02 14:42:45 +00:00
Inline the InstnPlusPhoneme function.
This commit is contained in:
@@ -1951,14 +1951,6 @@ static void DecThenCount()
|
|||||||
then_count--;
|
then_count--;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void InstnPlusPhoneme(int instn)
|
|
||||||
{
|
|
||||||
int phcode;
|
|
||||||
|
|
||||||
phcode = NextItemBrackets(tPHONEMEMNEM, 0);
|
|
||||||
*prog_out++ = instn + phcode;
|
|
||||||
}
|
|
||||||
|
|
||||||
int CompilePhoneme(int compile_phoneme)
|
int CompilePhoneme(int compile_phoneme)
|
||||||
{
|
{
|
||||||
int endphoneme = 0;
|
int endphoneme = 0;
|
||||||
@@ -2049,7 +2041,8 @@ int CompilePhoneme(int compile_phoneme)
|
|||||||
case i_CHANGE_IF | isUnstressed:
|
case i_CHANGE_IF | isUnstressed:
|
||||||
case i_CHANGE_IF | isNotStressed:
|
case i_CHANGE_IF | isNotStressed:
|
||||||
case i_CHANGE_IF | isStressed:
|
case i_CHANGE_IF | isStressed:
|
||||||
InstnPlusPhoneme(keyword << 8);
|
value = NextItemBrackets(tPHONEMEMNEM, 0);
|
||||||
|
*prog_out++ = (keyword << 8) + value;
|
||||||
DecThenCount();
|
DecThenCount();
|
||||||
break;
|
break;
|
||||||
case i_PAUSE_BEFORE:
|
case i_PAUSE_BEFORE:
|
||||||
|
|||||||
Reference in New Issue
Block a user