mirror of https://github.com/lwvmobile/mbelib
Replaced exit() with a reset-to-default
This commit is contained in:
parent
1e343f40dd
commit
6c4e4357bf
4
mbelib.c
4
mbelib.c
|
|
@ -240,8 +240,8 @@ mbe_synthesizeSpeechf (float *aout_buf, mbe_parms * cur_mp, mbe_parms * prev_mp,
|
|||
|
||||
if ((uvquality < 1) || (uvquality > 64))
|
||||
{
|
||||
printf ("\nmbelib: Error - uvquality must be within the range 1 - 64\n");
|
||||
exit (1);
|
||||
printf ("\nmbelib: Error - uvquality must be within the range 1 - 64, setting to default value of 3\n");
|
||||
uvquality = 3;
|
||||
}
|
||||
|
||||
// calculate loguvquality
|
||||
|
|
|
|||
Loading…
Reference in New Issue