From 6e1d57033ea47ea8caa81194269e66b5c41424bf Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Mon, 19 Mar 2018 22:49:31 -0700 Subject: [PATCH] Remove vestigle loop methods --- js/media/elementSource.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/media/elementSource.js b/js/media/elementSource.js index 12ac89dd..08a1a30e 100644 --- a/js/media/elementSource.js +++ b/js/media/elementSource.js @@ -81,7 +81,6 @@ export default class ElementSource { }); this._source = this._context.createMediaElementSource(this._audio); - //this._audio.loop = false; this._source.connect(destination); } @@ -159,16 +158,6 @@ export default class ElementSource { return this._context.sampleRate; } - /* - getLoop() { - return this._audio.loop; - } - - setLoop(shouldLoop) { - this._audio.loop = shouldLoop; - } - */ - _setStatus(status) { this._status = status; this.trigger("statusChange");