mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 06:45:39 +00:00
Fix setting saved_parameters in espeak_ng_Initialize.
This fixes a regression introduced in commit
e341068d57.
This is needed for the case when espeak_Cancel is called before
calling espeak_Synth.
This commit is contained in:
@@ -26,6 +26,7 @@ bug fixes:
|
||||
* Fixes for running the spect code on big-endian architectures.
|
||||
* Fix determining the voice directory when installing the 32-bit Windows
|
||||
binaries on a 64-bit Windows system.
|
||||
* Fix a regression with the saved parameter logic.
|
||||
|
||||
updated languages:
|
||||
|
||||
|
||||
@@ -351,7 +351,7 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Initialize(espeak_ng_ERROR_CONTEXT *con
|
||||
VoiceReset(0);
|
||||
|
||||
for (param = 0; param < N_SPEECH_PARAM; param++)
|
||||
param_stack[0].parameter[param] = param_defaults[param];
|
||||
param_stack[0].parameter[param] = saved_parameters[param] = param_defaults[param];
|
||||
|
||||
SetParameter(espeakRATE, 175, 0);
|
||||
SetParameter(espeakVOLUME, 100, 0);
|
||||
|
||||
Reference in New Issue
Block a user