Take the mbrola voice sample rate from the mbrola wav file.

This commit is contained in:
Reece H. Dunn
2015-12-07 20:36:00 +00:00
parent 6998c3888f
commit c885d1543e
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -994,7 +994,7 @@ voice_t *LoadVoice(const char *vname, int control)
name2[0] = 0;
sscanf(p,"%s %s %d",name1,name2,&srate);
if(LoadMbrolaTable(name1,name2,srate) != EE_OK)
if(LoadMbrolaTable(name1,name2,&srate) != EE_OK)
{
fprintf(stderr,"mbrola voice not found\n");
}