Set the espeak audio buffer size to 50 ms

This should help make the cancel command more responsive.
This commit is contained in:
William Hubbs 2009-06-26 16:00:08 -05:00
commit c1d33d6738

View file

@ -213,7 +213,7 @@ int initialize_espeak(struct synth_t *s)
/* initialize espeak */
select_audio_mode();
rate = espeak_Initialize(audio_mode, 0, NULL, 0);
rate = espeak_Initialize(audio_mode, 50, NULL, 0);
if (rate < 0) {
fprintf(stderr, "Unable to initialize espeak.\n");
return -1;