From 8d67c6a4c3499fa3522450dbf93221a99c440154 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Tue, 17 Apr 2018 09:36:21 -0400 Subject: [PATCH] Update variable name. --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index e2217da..95f3bbe 100644 --- a/src/index.js +++ b/src/index.js @@ -235,8 +235,8 @@ class AudioEngine { return (new ADPCMSoundDecoder(this.audioContext)).decode(bufferCopy2) .then( addDecodedAudio, - sndError => { - log.warn('audio data could not be decoded', sndError); + error => { + log.warn('audio data could not be decoded', error); } ); }