aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-05-02 17:24:05 -0400
committerGitHub <noreply@github.com>2020-05-02 17:24:05 -0400
commitacfdaa4f483790cf3d70a2c1a59d82a422ebed1f (patch)
treecbecaa691ce4bae12270b3c622464786e88aacf7
parentd4ae9aa501ece99ea6c5e6b8fb01c3005f5b7f03 (diff)
Fix incorrect static call (#498)
-rw-r--r--ext/mixed/js/audio-system.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/audio-system.js b/ext/mixed/js/audio-system.js
index 108cfc72..4b4d9765 100644
--- a/ext/mixed/js/audio-system.js
+++ b/ext/mixed/js/audio-system.js
@@ -196,7 +196,7 @@ class AudioSystem {
}
_isAudioBinaryValid(arrayBuffer) {
- const digest = TextToSpeechAudio.arrayBufferDigest(arrayBuffer);
+ const digest = AudioSystem.arrayBufferDigest(arrayBuffer);
switch (digest) {
case 'ae6398b5a27bc8c0a771df6c907ade794be15518174773c58c7c7ddd17098906': // jpod101 invalid audio
return false;