Merge branch 'master' into android

Conflicts:
	src/voices.cpp
This commit is contained in:
Reece H. Dunn
2013-01-25 16:34:39 +00:00
33 changed files with 12682 additions and 66 deletions
+2 -1
View File
@@ -1781,7 +1781,7 @@ ESPEAK_API const espeak_VOICE **espeak_ListVoices(espeak_VOICE *voice_spec)
int ix;
int j;
espeak_VOICE *v;
static espeak_VOICE *voices[N_VOICES_LIST];
static espeak_VOICE **voices = NULL;
char path_voices[sizeof(path_home)+12];
// free previous voice list data
@@ -1793,6 +1793,7 @@ ESPEAK_API const espeak_VOICE **espeak_ListVoices(espeak_VOICE *voice_spec)
GetVoices(path_voices);
voices_list[n_voices_list] = NULL; // voices list terminator
LOGI("GetVoices found %d voices.", n_voices_list);
voices = (espeak_VOICE **)realloc(voices, sizeof(espeak_VOICE *)*(n_voices_list+1));
// sort the voices list
qsort(voices_list,n_voices_list,sizeof(espeak_VOICE *),