mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 15:24:02 +00:00
Merge remote-tracking branch 'marnaouf/emscripten'
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user