Skip to content

Commit 5d81c95

Browse files
committed
removed unused data structures and fixed includes
1 parent bbd0b46 commit 5d81c95

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

plugin/include/PluginProcessor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <melatonin_perfetto/melatonin_perfetto.h>
55
#include "CircularBuffer.h"
66
#include "DelayAmp.h"
7-
#include "DelayInterval.h"
7+
#include "Filter.h"
88

99
typedef struct NoteValue
1010
{

plugin/include/dsp/DelayInterval.h

Lines changed: 0 additions & 9 deletions
This file was deleted.

plugin/source/dsp/Filter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ float Filter::processSample(float sample)
8585

8686
void Filter::processSamples(float* samples, size_t length)
8787
{
88+
if (length == 0)
89+
return;
8890
// copy the dry signal to the temporary buffer (for mixing)
8991
for (size_t i = 0;i < length;i++)
9092
tempBuffer[i] = samples[i];

0 commit comments

Comments
 (0)