From 351126b3b18fe4af8523a60bffb30d634534091b Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 25 Oct 2017 07:31:03 +0100 Subject: [PATCH] Move polint from synthesize.h to spect.h. --- src/libespeak-ng/spect.h | 2 ++ src/libespeak-ng/synthesize.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libespeak-ng/spect.h b/src/libespeak-ng/spect.h index 8d593821..f4f1c883 100644 --- a/src/libespeak-ng/spect.h +++ b/src/libespeak-ng/spect.h @@ -22,6 +22,8 @@ extern "C" { #endif +float polint(float xa[], float ya[], int n, float x); + #define FRAME_WIDTH 1000 // max width for 8000kHz frame #define MAX_DISPLAY_FREQ 9500 #define FRAME_HEIGHT 240 diff --git a/src/libespeak-ng/synthesize.h b/src/libespeak-ng/synthesize.h index 63346b70..f76bf90d 100644 --- a/src/libespeak-ng/synthesize.h +++ b/src/libespeak-ng/synthesize.h @@ -457,7 +457,6 @@ void WcmdqStop(void); int WcmdqUsed(void); void WcmdqInc(void); void WavegenInit(int rate, int wavemult_fact); -float polint(float xa[], float ya[], int n, float x); int WavegenFill(void); void MarkerEvent(int type, unsigned int char_position, int value, int value2, unsigned char *out_ptr); int GetAmplitude(void);