Reduce buffer length to 50mS and don't override it when using eSpeak for audio.

This commit is contained in:
Reece H. Dunn
2017-01-12 07:40:14 +00:00
parent dae9cda060
commit d828156576
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ ESPEAK_API int espeak_Initialize(espeak_AUDIO_OUTPUT output, int buflength, cons
output: the audio data can either be played by eSpeak or passed back by the SynthCallback function.
buflength: The length in mS of sound buffers passed to the SynthCallback function.
Value=0 gives a default of 200mS.
Value=0 gives a default of 50mS.
This paramater is only used for AUDIO_OUTPUT_RETRIEVAL and AUDIO_OUTPUT_SYNCHRONOUS modes.
path: The directory which contains the espeak-ng-data directory, or NULL for the default location.