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); } ); }