summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index 1e1974f..dcbb7bd 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -446,7 +446,7 @@ void DrumGizmo::setSamplerate(float samplerate)
buf.reset(new sample_t[MAX_RESAMPLER_BUFFER_SIZE]);
}
- for(int c = 0; c < MAX_NUM_CHANNELS; ++c)
+ for(int c = 0; c < NUM_CHANNELS; ++c)
{
zita[c].reset();
auto nchan = 1u; // mono