From b4634c06e010528f8cf488260f9828f9892df0d1 Mon Sep 17 00:00:00 2001 From: Brian Lowry Date: Tue, 20 Feb 2018 13:07:41 -0500 Subject: [PATCH] Fixed a bug that prevented exportWAV and getBuffers from calling the [callback]. --- dist/recorder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/recorder.js b/dist/recorder.js index 0fcb6b3c..c4e0ffc9 100644 --- a/dist/recorder.js +++ b/dist/recorder.js @@ -72,7 +72,7 @@ var Recorder = exports.Recorder = (function () { source.connect(this.node); this.node.connect(this.context.destination); //this should not be necessary - var self = {}; + this.self = this; this.worker = new _inlineWorker2.default(function () { var recLength = 0, recBuffers = [],