mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
Let espeak choose the buffer size
The default is already quite small, and choosing a too small one may lead to broken speech. Fixes #13
This commit is contained in:
parent
7159441731
commit
171bb517a0
1 changed files with 2 additions and 2 deletions
4
espeak.c
4
espeak.c
|
|
@ -321,7 +321,7 @@ static void reinitialize_espeak(struct synth_t *s)
|
|||
int rate;
|
||||
|
||||
/* Re-initialize espeak */
|
||||
rate = espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 50, NULL, 0);
|
||||
rate = espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL, 0);
|
||||
if (rate < 0) {
|
||||
fprintf(stderr, "Unable to initialize espeak.\n");
|
||||
return;
|
||||
|
|
@ -407,7 +407,7 @@ int initialize_espeak(struct synth_t *s)
|
|||
int rate;
|
||||
|
||||
/* initialize espeak */
|
||||
rate = espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 50, NULL, 0);
|
||||
rate = espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, 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