Merge remote-tracking branch 'marnaouf/emscripten'

This commit is contained in:
Reece H. Dunn
2019-09-04 19:40:15 +01:00
+5
View File
@@ -148,6 +148,11 @@ function stop() {
function speak() {
console.log('Inside speak()');
if (ctx.state === 'suspended') {
console.log('Resuming AudioContext...');
ctx.resume();
console.log('Resuming AudioContext... done');
}
console.log(' Stopping...');
stop();
console.log(' Stopping... done');