mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-03 06:55:44 +00:00
Rule alignment fixes for non compliant platforms / Fix for emscripten demo
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ CXXFLAGS+=-I ./ -I ../ -I ../src/include/espeak-ng
|
||||
#CXXFLAGS+=-s USE_PTHREADS=1
|
||||
|
||||
# NOTE: extra flags for emscripten
|
||||
EM_CXXFLAGS=-s RESERVED_FUNCTION_POINTERS=2 --memory-init-file 0 -s FORCE_FILESYSTEM=1 -s WASM=0
|
||||
EM_CXXFLAGS=-s RESERVED_FUNCTION_POINTERS=2 --memory-init-file 0 -s FORCE_FILESYSTEM=1 -s WASM=0 -s ERROR_ON_UNDEFINED_SYMBOLS=0
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -119,6 +119,8 @@ eSpeakNGWorker.prototype.synthesize_ipa = function (aText, aCallback) {
|
||||
|
||||
if (typeof WorkerGlobalScope !== 'undefined') {
|
||||
var worker;
|
||||
|
||||
Module.postRun = Module.postRun || [];
|
||||
|
||||
Module.postRun.push(function () {
|
||||
worker = new eSpeakNGWorker();
|
||||
|
||||
Reference in New Issue
Block a user