From d5869292fe5294e79916315192fc554e12145c47 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 12 Jul 2016 22:39:40 -0700 Subject: [PATCH] Remove unused volume code --- js/winamp.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/winamp.js b/js/winamp.js index a59bfa28..9f78dcd1 100755 --- a/js/winamp.js +++ b/js/winamp.js @@ -114,10 +114,6 @@ module.exports = { return this.media.channels(); }, - getVolume: function() { - return Math.round(this.media.getVolume()); - }, - seekToPercentComplete: function(percent) { this.media.seekToPercentComplete(percent); }, @@ -152,10 +148,6 @@ module.exports = { this.media.setVolume(volume); }, - incrementVolumeBy: function(ammount) { - this.setVolume((this.media.getVolume()) + ammount); - }, - toggleDoubledMode: function() { window.dispatchEvent(this.events.doubledModeToggled); },