summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-11-17 18:18:46 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-11-17 18:18:46 +0000
commitf42284ed0721ad3a5dd1d2e8bb70f2ae3733ddde (patch)
tree35505e697aa657d79406ccabc0b169e50765d252 /platform
parentc56a071d0c6e282dbb82aa7e69691e33f6c2fd7e (diff)
Add missing javascript semi-colons.
Diffstat (limited to 'platform')
-rw-r--r--platform/javascript/native/audio.worklet.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/native/audio.worklet.js b/platform/javascript/native/audio.worklet.js
index 320af6189c..f91787b993 100644
--- a/platform/javascript/native/audio.worklet.js
+++ b/platform/javascript/native/audio.worklet.js
@@ -45,7 +45,7 @@ class RingBuffer {
read(output) {
const size = this.buffer.length;
- let from = 0
+ let from = 0;
let to_write = output.length;
if (this.rpos + to_write > size) {
const high = size - this.rpos;
@@ -150,7 +150,7 @@ class GodotProcessor extends AudioWorkletProcessor {
const output = outputs[0];
const chunk = output[0].length * output.length;
if (this.output_buffer.length != chunk) {
- this.output_buffer = new Float32Array(chunk)
+ this.output_buffer = new Float32Array(chunk);
}
if (this.output.data_left() >= chunk) {
this.output.read(this.output_buffer);