From acfdaa4f483790cf3d70a2c1a59d82a422ebed1f Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 2 May 2020 17:24:05 -0400 Subject: [PATCH] Fix incorrect static call (#498) --- ext/mixed/js/audio-system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;