mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-18 02:48:42 +00:00
code cleanup: new file langopts.c for handling language options.
The switch case in LoadVoice() currently mixes voice and language options. This change will start separating them into two functions. CheckTranslator will be moved to langopts.c. In the future there should be no need to use it in voices.c. There will be other temporary solutions also.
This commit is contained in:
@@ -177,6 +177,7 @@
|
||||
<ClCompile Include="..\libespeak-ng\ieee80.c" />
|
||||
<ClCompile Include="..\libespeak-ng\intonation.c" />
|
||||
<ClCompile Include="..\libespeak-ng\klatt.c" />
|
||||
<ClCompile Include="..\libespeak-ng\langopts.c" />
|
||||
<ClCompile Include="..\libespeak-ng\mbrowrap.c" />
|
||||
<ClCompile Include="..\libespeak-ng\mnemonics.c" />
|
||||
<ClCompile Include="..\libespeak-ng\numbers.c" />
|
||||
@@ -210,6 +211,7 @@
|
||||
<ClInclude Include="..\libespeak-ng\common.h" />
|
||||
<ClInclude Include="..\libespeak-ng\error.h" />
|
||||
<ClInclude Include="..\libespeak-ng\klatt.h" />
|
||||
<ClInclude Include="..\libespeak-ng\langopts.h" />
|
||||
<ClInclude Include="..\libespeak-ng\mbrowrap.h" />
|
||||
<ClInclude Include="..\libespeak-ng\phoneme.h" />
|
||||
<ClInclude Include="..\libespeak-ng\sintab.h" />
|
||||
@@ -232,4 +234,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -90,6 +90,9 @@
|
||||
<ClCompile Include="..\libespeak-ng\klatt.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\libespeak-ng\langopts.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\libespeak-ng\mbrowrap.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
@@ -197,6 +200,9 @@
|
||||
<ClInclude Include="..\libespeak-ng\klatt.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\libespeak-ng\langopts.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\libespeak-ng\mbrowrap.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
@@ -227,4 +233,4 @@
|
||||
<Filter>Source Files</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user