diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-06-16 10:47:33 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-06-16 10:47:33 +0200 |
commit | 25b398ea000b5529084d985bd14ed066a81578d3 (patch) | |
tree | 301d8eef0b212d60f5f5939d088f2492b5c1b3f0 /src/drumgizmo.cc | |
parent | 37c2ec6edd2294a31561b4cd46ded6a2b4f74e22 (diff) |
Make max channnel count controllable through the configure script to make it possible to exceed the default 16.
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r-- | src/drumgizmo.cc | 2 |
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 |