diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-04-10 18:36:47 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-07-04 11:27:14 +0200 |
commit | fe1986214251bcd110837b81ed2159d75c58f8e2 (patch) | |
tree | c38a0bdb27b877b900227827b98ca5e39709ff09 /src/drumgizmo.h | |
parent | a638001e3249edf7264b5ee0f6d5280229aeb671 (diff) |
Get rid of big stack allocation during resampler (re-)configuration.
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r-- | src/drumgizmo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h index f08c9f7..89c2960 100644 --- a/src/drumgizmo.h +++ b/src/drumgizmo.h @@ -107,5 +107,5 @@ protected: std::array<ZRWrapper, NUM_CHANNELS> zita; std::array<std::unique_ptr<sample_t>, NUM_CHANNELS> resampler_input_buffer; double ratio = 1.0; - + std::vector<sample_t> scratch_buffer; }; |