Skip to content

Commit 2fe9a67

Browse files
committed
Delay
1 parent 632e725 commit 2fe9a67

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/AudioEffects/AudioEffect.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ class Delay : public AudioEffect {
174174
/// e.g. depthPercent=50, ms=1000, sampleRate=44100
175175
Delay(uint16_t &duration_ms, uint8_t& depthPercent, uint32_t sampleRate=44100) {
176176
this->sampleRate = sampleRate;
177-
this->sampleCount = sampleRate * duration_ms / 1000;
178177
p_percent = &depthPercent;
179178
p_ms = &duration_ms;
180179
}

0 commit comments

Comments
 (0)