This commit is contained in:
Eric Rosenbaum 2016-11-21 18:27:50 -05:00
parent b169ac8875
commit f797ec80f3

View file

@ -202,10 +202,6 @@ AudioEngine.prototype.stopAllSounds = function () {
};
AudioEngine.prototype.setEffect = function (effect, value) {
if (Number.isInteger(effect)) {
effect = this._clamp(effect, 0, this.effectNames.length);
effect = this.effectNames[effect];
}
switch (effect) {
case 'PITCH':
this._setPitchShift(value);