Pull Request Opened #github

espeak-ng@groups.io Integration <espeak-ng@...>

[espeak-ng/espeak-ng] Pull request opened by jbowler:

#925 Fix crash in voices.c:SetVoiceScores

The only way (in Dec. 2019) to get espeak_ListVoices to actually list all the voices, including variants and mbrola voices used to be to pass a non-null voice selector with a null language pointer. This still seems to be supported in SetVoiceScores, which still checks for a null language (see the check right at the top), however new code has been added for a pseudo voice "all" lower down which seems to do the same thing but crashes with null. This change allows "old" code to continue working.

Signed-off-by: John Bowler jbowler@...

Join espeak-ng@groups.io to automatically receive all group messages.