mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-24 12:28:10 +00:00
Fix for newer versions of emscripten
This commit is contained in:
+2
-2
@@ -88,9 +88,9 @@ eSpeakNGWorker.prototype.synthesize = function (aText, aCallback) {
|
||||
return aCallback(data, events) ? 1 : 0;
|
||||
}
|
||||
|
||||
var fp = Runtime.addFunction(cb);
|
||||
var fp = addFunction(cb);
|
||||
this.synth_(aText, fp);
|
||||
Runtime.removeFunction(fp);
|
||||
removeFunction(fp);
|
||||
};
|
||||
|
||||
eSpeakNGWorker.prototype.synthesize_ipa = function (aText, aCallback) {
|
||||
|
||||
Reference in New Issue
Block a user