Browse Source

WVoiceChanged is not used, so remove it.

master
Reece H. Dunn 9 years ago
parent
commit
496ff35634
2 changed files with 0 additions and 7 deletions
  1. 0
    6
      src/libespeak-ng/speech.c
  2. 0
    1
      src/libespeak-ng/voice.h

+ 0
- 6
src/libespeak-ng/speech.c View File

@@ -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;

+ 0
- 1
src/libespeak-ng/voice.h View File

@@ -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);

Loading…
Cancel
Save