aboutsummaryrefslogtreecommitdiff
path: root/ext/js/media/audio-downloader.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/media/audio-downloader.js')
-rw-r--r--ext/js/media/audio-downloader.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/media/audio-downloader.js b/ext/js/media/audio-downloader.js
index 4142e3f4..77e9afd2 100644
--- a/ext/js/media/audio-downloader.js
+++ b/ext/js/media/audio-downloader.js
@@ -16,11 +16,11 @@
*/
/* global
+ * ArrayBufferUtil
* JsonSchema
* NativeSimpleDOMParser
* RequestBuilder
* SimpleDOMParser
- * StringUtil
*/
class AudioDownloader {
@@ -283,7 +283,7 @@ class AudioDownloader {
throw new Error('Could not retrieve audio');
}
- const data = StringUtil.arrayBufferToBase64(arrayBuffer);
+ const data = ArrayBufferUtil.arrayBufferToBase64(arrayBuffer);
const contentType = response.headers.get('Content-Type');
return {data, contentType};
}