Program restructure and tidy-up.

Change Translator from Class to Struct, so avoiding use of Classes in eSpeak.
Make more functions and variables "extern".


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@209 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-12-13 10:54:41 +00:00
parent 3096b7634d
commit b053a790df
27 changed files with 1440 additions and 1559 deletions
+3 -3
View File
@@ -223,7 +223,7 @@ Converts synthesis parameters to a waveform.
*/
int parwave(klatt_frame_ptr frame)
static int parwave(klatt_frame_ptr frame)
{
double temp;
double outbypas;
@@ -489,7 +489,7 @@ Initialises all parameters used in parwave, sets resonator internal memory
to zero.
*/
void reset_resonators()
static void reset_resonators()
{
int r_ix;
@@ -500,7 +500,7 @@ void reset_resonators()
}
}
void parwave_init()
static void parwave_init()
{
kt_globals.FLPhz = (950 * kt_globals.samrate) / 10000;
kt_globals.BLPhz = (630 * kt_globals.samrate) / 10000;