Browse Source

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.
master
Reece H. Dunn 8 years ago
parent
commit
a506dc5241
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      CHANGELOG.md
  2. 1
    1
      src/libespeak-ng/speech.c

+ 1
- 0
CHANGELOG.md View File

* Fixes for running the spect code on big-endian architectures. * Fixes for running the spect code on big-endian architectures.
* Fix determining the voice directory when installing the 32-bit Windows * Fix determining the voice directory when installing the 32-bit Windows
binaries on a 64-bit Windows system. binaries on a 64-bit Windows system.
* Fix a regression with the saved parameter logic.


updated languages: updated languages:



+ 1
- 1
src/libespeak-ng/speech.c View File

VoiceReset(0); VoiceReset(0);


for (param = 0; param < N_SPEECH_PARAM; param++) 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(espeakRATE, 175, 0);
SetParameter(espeakVOLUME, 100, 0); SetParameter(espeakVOLUME, 100, 0);

Loading…
Cancel
Save