Skip to content

Commit a3dbb51

Browse files
Removed return value for setRate method as it is not needed because that value is now stored in totalRate property
1 parent 411fdd4 commit a3dbb51

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

v3/src/sound/BaseSound.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ var BaseSound = new Class({
277277
var totalDetune = Math.max(-1200, Math.min(this.currentConfig.detune + this.manager.detune, 1200));
278278
var detuneRate = Math.pow(cent, totalDetune);
279279
this.totalRate = this.currentConfig.rate * this.manager.rate * detuneRate;
280-
return this.totalRate;
281280
}
282281
});
283282
module.exports = BaseSound;

0 commit comments

Comments
 (0)