We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2879ba4 commit 48133d9Copy full SHA for 48133d9
src/AudioTools/CoreAudio/AudioEffects/AudioEffect.h
@@ -473,7 +473,7 @@ class Compressor : public AudioEffect {
473
//Attack -> 30 ms -> 3000
474
//Release -> 20 ms -> 2000
475
//Hold -> 10ms -> 1000
476
- sample_rate = sample_rate * attackMs / 1000;
+ sample_rate = sample_rate;
477
attack_count = sample_rate * attackMs / 1000;
478
release_count = sample_rate * releaseMs / 1000;
479
hold_count = sample_rate * holdMs / 1000;
0 commit comments