From 25b398ea000b5529084d985bd14ed066a81578d3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 16 Jun 2019 10:47:33 +0200 Subject: Make max channnel count controllable through the configure script to make it possible to exceed the default 16. --- src/drumgizmo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drumgizmo.cc') 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 -- cgit v1.2.3