diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-11-15 17:05:52 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-11-15 17:05:52 +0100 |
commit | 5f0efb26389f5610876d59b80d6ad6ca72cbce85 (patch) | |
tree | 77d951923ff0f3fffd3e459f19dd74fda6443ae8 /src/drumgizmo.h | |
parent | e8f702516079ea4b5803adcb888150d3d7a760d4 (diff) |
Move zita-resampler inside wrapper.
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r-- | src/drumgizmo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h index 9d2e661..8a423d1 100644 --- a/src/drumgizmo.h +++ b/src/drumgizmo.h @@ -33,8 +33,6 @@ #include <array> #include <memory> -#include <zita-resampler/resampler.h> - #include "audiooutputengine.h" #include "audioinputengine.h" #include "events.h" @@ -44,6 +42,7 @@ #include "audiocache.h" #include "settings.h" #include "inputprocessor.h" +#include "zrwrapper.h" #define REFSFILE "refs.conf" @@ -102,7 +101,7 @@ protected: SettingsGetter settings_getter; Random rand; - std::array<Resampler, NUM_CHANNELS> zita; + std::array<ZRWrapper, NUM_CHANNELS> zita; std::array<std::unique_ptr<sample_t>, NUM_CHANNELS> resampler_input_buffer; double ratio = 1.0; |