mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 14:02:29 -05:00
cleanup
This commit is contained in:
parent
b169ac8875
commit
f797ec80f3
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue