Fix for newer versions of emscripten

This commit is contained in:
BenTalagan
2019-02-15 15:45:39 +01:00
parent a95f09f674
commit 082088f152
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -186,7 +186,7 @@ function speak() {
tts.synthesize(
user_text,
function cb(samples, events) {
//console.log(' Inside synt cb');
console.log(' Receiving synthesis samples...');
if (!samples) {
if (pusher) {
pusher.close();
@@ -207,7 +207,6 @@ function speak() {
); // end of tts.synthesize()
console.log(' Calling synthesize... done');
console.log('Leaving speak()');
} // end of speak()
function ipa() {