1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
commit be4c3585ead45716b8f49300b50c30fdb6eee266
Author: Alexander Epaneshnikov <aarnaarn2@gmail.com>
Date: Thu Nov 24 01:41:40 2022 +0300
espeak: set buffer size to 300
this fixes #793
ref for buffer size: https://github.com/nvaccess/nvda/blob/a6fb2392083b5fa1bae926102135ad452746ad3c/source/synthDrivers/_espeak.py#L338
diff --git a/config/modules/espeak-ng-mbrola.conf b/config/modules/espeak-ng-mbrola.conf
index 4f1552af..f2c323cd 100644
--- a/config/modules/espeak-ng-mbrola.conf
+++ b/config/modules/espeak-ng-mbrola.conf
@@ -41,7 +41,7 @@ EspeakMaxRate 449
# -- Internal parameters --
# Number of ms of audio returned by the espeak callback function.
-EspeakAudioChunkSize 3000
+EspeakAudioChunkSize 300
# Maximum number of samples to buffer in playback queue.
EspeakAudioQueueMaxSize 441000
diff --git a/config/modules/espeak-ng.conf b/config/modules/espeak-ng.conf
index d02704e9..9677bc99 100644
--- a/config/modules/espeak-ng.conf
+++ b/config/modules/espeak-ng.conf
@@ -41,7 +41,7 @@ EspeakMaxRate 449
# -- Internal parameters --
# Number of ms of audio returned by the espeak callback function.
-EspeakAudioChunkSize 3000
+EspeakAudioChunkSize 300
# Maximum number of samples to buffer in playback queue.
EspeakAudioQueueMaxSize 441000
diff --git a/config/modules/espeak.conf b/config/modules/espeak.conf
index 3abc422b..cbd453b7 100644
--- a/config/modules/espeak.conf
+++ b/config/modules/espeak.conf
@@ -41,7 +41,7 @@ EspeakMaxRate 449
# -- Internal parameters --
# Number of ms of audio returned by the espeak callback function.
-EspeakAudioChunkSize 3000
+EspeakAudioChunkSize 300
# Maximum number of samples to buffer in playback queue.
EspeakAudioQueueMaxSize 441000
|