summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drumgizmo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h
index 0ee51e6..a47898b 100644
--- a/src/drumgizmo.h
+++ b/src/drumgizmo.h
@@ -103,7 +103,7 @@ protected:
Random rand;
std::array<ZRWrapper, NUM_CHANNELS> zita;
- std::array<std::unique_ptr<sample_t>, NUM_CHANNELS> resampler_input_buffer;
+ std::array<std::unique_ptr<sample_t[]>, NUM_CHANNELS> resampler_input_buffer;
double ratio = 1.0;
std::vector<sample_t> scratch_buffer;
};