mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
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:
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user