Browse Source

Fix infinite recursions in the espeak_SetVoiceBy(Name|Properties) implementations.

master
Reece H. Dunn 9 years ago
parent
commit
4001a7fbdf
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/libespeak-ng/espeak_api.c

+ 2
- 2
src/libespeak-ng/espeak_api.c View File

@@ -126,12 +126,12 @@ ESPEAK_API espeak_ERROR espeak_SetPunctuationList(const wchar_t *punctlist)

ESPEAK_API espeak_ERROR espeak_SetVoiceByName(const char *name)
{
return status_to_espeak_error(espeak_SetVoiceByName(name));
return status_to_espeak_error(espeak_ng_SetVoiceByName(name));
}

ESPEAK_API espeak_ERROR espeak_SetVoiceByProperties(espeak_VOICE *voice_selector)
{
return status_to_espeak_error(espeak_SetVoiceByProperties(voice_selector));
return status_to_espeak_error(espeak_ng_SetVoiceByProperties(voice_selector));
}

ESPEAK_API espeak_ERROR espeak_Cancel(void)

Loading…
Cancel
Save