mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
WVoiceChanged is not used, so remove it.
This commit is contained in:
@@ -85,12 +85,6 @@ int (*phoneme_callback)(const char *) = NULL;
|
||||
char path_home[N_PATH_HOME]; // this is the espeak-data directory
|
||||
extern int saved_parameters[N_SPEECH_PARAM]; // Parameters saved on synthesis start
|
||||
|
||||
void WVoiceChanged(voice_t *wvoice)
|
||||
{
|
||||
// Voice change in wavegen
|
||||
voice_samplerate = wvoice->samplerate;
|
||||
}
|
||||
|
||||
static int dispatch_audio(short *outbuf, int length, espeak_EVENT *event)
|
||||
{
|
||||
int a_wave_can_be_played = 1;
|
||||
|
||||
@@ -83,7 +83,6 @@ espeak_VOICE *SelectVoiceByName(espeak_VOICE **voices, const char *name);
|
||||
voice_t *LoadVoice(const char *voice_name, int control);
|
||||
voice_t *LoadVoiceVariant(const char *voice_name, int variant);
|
||||
espeak_ng_STATUS DoVoiceChange(voice_t *v);
|
||||
void WVoiceChanged(voice_t *wvoice);
|
||||
void WavegenSetVoice(voice_t *v);
|
||||
void ReadTonePoints(char *string, int *tone_pts);
|
||||
void VoiceReset(int control);
|
||||
|
||||
Reference in New Issue
Block a user