mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-23 16:14:17 +02:00
Set the espeak audio buffer size to 50 ms
This should help make the cancel command more responsive.
This commit is contained in:
parent
0471ff47f4
commit
c1d33d6738
1 changed files with 1 additions and 1 deletions
2
synth.c
2
synth.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue