From d00031054de4fe26c0799388fff0cc73c035a342 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Thu, 3 May 2018 07:10:16 -0700 Subject: [PATCH] Remove unused abstractions --- js/media/index.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/js/media/index.js b/js/media/index.js index 89b1c68e..fa87fa31 100644 --- a/js/media/index.js +++ b/js/media/index.js @@ -166,16 +166,6 @@ export default class Media { this._emitter.trigger("channelupdate"); } - _makeMono() { - this._setChannels(1); - } - - _makeStereo() { - this._setChannels(2); - } - _resetChannels() { - this._setChannels(null); - } /* Properties */ duration() { return this._source.getDuration(); @@ -294,7 +284,7 @@ export default class Media { async loadFromUrl(url, autoPlay) { this._emitter.trigger("waiting"); await this._source.loadUrl(url); - this._resetChannels(); + this._setChannels(null); this._emitter.trigger("stopWaiting"); if (autoPlay) { this.play();