mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Clean up TTS request code
This commit is contained in:
parent
1aa38db4e6
commit
1035e9da28
1 changed files with 1 additions and 2 deletions
|
@ -734,7 +734,7 @@ class Scratch3Text2SpeechBlocks {
|
|||
// Play the sound
|
||||
const sound = {
|
||||
data: {
|
||||
buffer: buffer
|
||||
buffer
|
||||
}
|
||||
};
|
||||
return this.runtime.audioEngine.decodeSoundPlayer(sound);
|
||||
|
@ -760,7 +760,6 @@ class Scratch3Text2SpeechBlocks {
|
|||
})
|
||||
.catch(err => {
|
||||
log.warn(err);
|
||||
return;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue