Debian Codegraph @

debian/patches/bufsize

raw
1 Apparently 60ms is too much for some cards.
2
3 ---
4 src/libespeak-ng/speech.c | 2 +-
5 tests/klatt.test | 10 +++++-----
6 tests/variants.test | 2 +-
7 3 files changed, 7 insertions(+), 7 deletions(-)
8
9 --- a/src/libespeak-ng/speech.c
10 +++ b/src/libespeak-ng/speech.c
11 @@ -80,7 +80,7 @@ static void *my_user_data = NULL;
12 static espeak_ng_OUTPUT_MODE my_mode = ENOUTPUT_MODE_SYNCHRONOUS;
13 static int out_samplerate = 0;
14 static int voice_samplerate = 22050;
15 -static const int min_buffer_length = 60; // minimum buffer length in ms
16 +static const int min_buffer_length = 49; // minimum buffer length in ms
17 static espeak_ng_STATUS err = ENS_OK;
18
19 static t_espeak_callback *synth_callback = NULL;
20 --- a/tests/klatt.test
21 +++ b/tests/klatt.test
22 @@ -4,8 +4,8 @@
23 # and run needed checks before
24 is_hash
25 # call actual test functions
26 -test_wav en+klatt "696213dbbceecf20c3f80d771aab5757e05181c0" "The quick brown fox jumps over the lazy dog"
27 -test_wav en+klatt2 "e55bf0a5cd96d648177f743557c67a791da03f7b" "The quick brown fox jumps over the lazy dog"
28 -test_wav en+klatt3 "9ed890d032b1bed4a4ef1e3380b68133d0342429" "The quick brown fox jumps over the lazy dog"
29 -test_wav en+klatt4 "77243123d96113ab747200c5312e4945af4e16f3" "The quick brown fox jumps over the lazy dog"
30 -test_wav en+klatt5 "6426725d6c5a9053862a5251ff9c1e0a58c29e9b" "The quick brown fox jumps over the lazy dog"
31 +test_wav en+klatt "249a1520c86745adc55ad205f001f1d056b29fcb" "The quick brown fox jumps over the lazy dog"
32 +test_wav en+klatt2 "5f230eb6ed9f561eac66ce7252f69d780d69f802" "The quick brown fox jumps over the lazy dog"
33 +test_wav en+klatt3 "872999b7f80ca5882873c0dfc17168f21684e2b7" "The quick brown fox jumps over the lazy dog"
34 +test_wav en+klatt4 "17dcd3e5428cdb511a52c347dcd6e7f95d7e396e" "The quick brown fox jumps over the lazy dog"
35 +test_wav en+klatt5 "378450bf436f48f7716064ce83d4e9de518e429f" "The quick brown fox jumps over the lazy dog"
36 --- a/tests/variants.test
37 +++ b/tests/variants.test
38 @@ -10,4 +10,4 @@ test_wav "en+nonexisting" 029983e9084e04
39 test_wav "en+f1" dba359ac75ec33cc9cd4bd2af5031a3dbd84427c "Testing variants"
40 test_wav "en+anikaRobot" d56012d8f4cfb4c36fdad31ad9ad7abda40ef474 "Testing variants"
41 test_wav "en+Demonic" cc24431d23ce6d0a36f6a46df374f995beeb2863 "Testing variants"
42 -test_wav "en+klatt4" e03e3c6204de48d3e5b172cca4cca1ff09461ee1 "Testing variants"
43 +test_wav "en+klatt4" 5dac8221860dbb6ec8534923a208787bdb2960ce "Testing variants"