Browse Source

Initialize the phoneme options in espeak_ng_Initialize.

master
Reece H. Dunn 9 years ago
parent
commit
14d879aa97
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/libespeak-ng/speak_lib.c

+ 3
- 1
src/libespeak-ng/speak_lib.c View File

fifo_init(); fifo_init();
#endif #endif


option_phonemes = 0;
option_phoneme_events = 0;

return ENS_OK; return ENS_OK;
} }
#pragma GCC visibility pop #pragma GCC visibility pop
break; break;
} }


option_phonemes = 0;
option_phoneme_events = (options & (espeakINITIALIZE_PHONEME_EVENTS | espeakINITIALIZE_PHONEME_IPA)); option_phoneme_events = (options & (espeakINITIALIZE_PHONEME_EVENTS | espeakINITIALIZE_PHONEME_IPA));


return samplerate; return samplerate;

Loading…
Cancel
Save