Remove extra spaces
This commit is contained in:
1 parent
d6f2b0a48a
commit
bbe72e3485
1 file changed
+2
-2
@@ -44,13 +44,13 @@ class AudioEffects {
|
||||
break;
|
||||
case effectTypes.FASTER:
|
||||
this.playbackRate = pitchRatio;
|
||||
adjustedAffectedSampleCount = Math.floor(affectedSampleCount / this.playbackRate);
|
||||
adjustedAffectedSampleCount = Math.floor(affectedSampleCount / this.playbackRate);
|
||||
sampleCount = unaffectedSampleCount + adjustedAffectedSampleCount;
|
||||
|
||||
break;
|
||||
case effectTypes.SLOWER:
|
||||
this.playbackRate = 1 / pitchRatio;
|
||||
adjustedAffectedSampleCount = Math.floor(affectedSampleCount / this.playbackRate);
|
||||
adjustedAffectedSampleCount = Math.floor(affectedSampleCount / this.playbackRate);
|
||||
sampleCount = unaffectedSampleCount + adjustedAffectedSampleCount;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user