Skip to content

Commit a76b9a1

Browse files
committed
BaseSoundManager.rate and BaseSoundManager.detune would incorrectly called setRate on its sounds, instead of calculateRate.
1 parent dcbc81e commit a76b9a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sound/BaseSoundManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ var BaseSoundManager = new Class({
579579

580580
this.forEachActiveSound(function (sound)
581581
{
582-
sound.setRate();
582+
sound.calculateRate();
583583
});
584584

585585
this.emit('rate', this, value);
@@ -634,7 +634,7 @@ var BaseSoundManager = new Class({
634634

635635
this.forEachActiveSound(function (sound)
636636
{
637-
sound.setRate();
637+
sound.calculateRate();
638638
});
639639

640640
this.emit('detune', this, value);

0 commit comments

Comments
 (0)