summaryrefslogtreecommitdiff
path: root/src/drumgizmo.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-11-15 17:05:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-11-15 17:05:52 +0100
commit5f0efb26389f5610876d59b80d6ad6ca72cbce85 (patch)
tree77d951923ff0f3fffd3e459f19dd74fda6443ae8 /src/drumgizmo.h
parente8f702516079ea4b5803adcb888150d3d7a760d4 (diff)
Move zita-resampler inside wrapper.
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r--src/drumgizmo.h5
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;