From 9408e5b95fec60269542d63a58aa084b123f5a8f Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Mon, 28 Nov 2016 20:31:02 -0800 Subject: [PATCH] Disable band while we wait for Safari to fix their bug. --- js/__tests__/snapUtils-test.js | 1 - js/media.js | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/js/__tests__/snapUtils-test.js b/js/__tests__/snapUtils-test.js index aa08ac00..cf408d0c 100644 --- a/js/__tests__/snapUtils-test.js +++ b/js/__tests__/snapUtils-test.js @@ -1,4 +1,3 @@ - import { top, bottom, diff --git a/js/media.js b/js/media.js index ab92aa94..e061f038 100644 --- a/js/media.js +++ b/js/media.js @@ -77,7 +77,7 @@ module.exports = { this._leftGain.connect(this._chanMerge, 0, 0); this._rightGain.connect(this._chanMerge, 0, 1); - let output = this._chanMerge; + const output = this._chanMerge; this.bands = {}; BANDS.forEach((band, i) => { @@ -96,8 +96,11 @@ module.exports = { } filter.frequency.value = band; filter.gain.value = 0; + /* + Disable this while we wait for Safari to fix its bug. output.connect(filter); output = filter; + */ }); output.connect(this._gainNode);