Package: espeak-ng / 1.49.2+dfsg-8

bufsize Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Apparently 60ms is too much for some cards.

Index: espeak-ng/src/libespeak-ng/speech.c
===================================================================
--- espeak-ng.orig/src/libespeak-ng/speech.c
+++ espeak-ng/src/libespeak-ng/speech.c
@@ -248,7 +248,7 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng
 
 	// buffer_length is in mS, allocate 2 bytes per sample
 	if (buffer_length == 0)
-		buffer_length = 60;
+		buffer_length = 49;
 
 	outbuf_size = (buffer_length * samplerate)/500;
 	out_start = (unsigned char *)realloc(outbuf, outbuf_size);