summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 08:04:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 08:04:19 +0100
commitf371b33a800855390403a88e0a7c8096f59ba9e8 (patch)
treedf3e76becdda7c53f43a83307080c5214c7610c1 /src
parentd2b5151c8fa2652b32be42d9a79419040e1c99a4 (diff)
Disable resampler.
Diffstat (limited to 'src')
-rw-r--r--src/drumgizmo.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index ac95812..192318a 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -45,6 +45,10 @@
#include "nolocale.h"
+#ifdef WITH_RESAMPLER
+#undef WITH_RESAMPLER
+#endif
+
DrumGizmo::DrumGizmo(AudioOutputEngine *o, AudioInputEngine *i)
: MessageReceiver(MSGRCV_ENGINE)
, loader()
@@ -514,6 +518,7 @@ int DrumGizmo::samplerate()
void DrumGizmo::setSamplerate(int samplerate)
{
+ DEBUG(dgeditor, "%s samplerate: %d\n", __PRETTY_FUNCTION__, samplerate);
Conf::samplerate = samplerate;
#ifdef WITH_RESAMPLER
for(int i = 0; i < MAX_NUM_CHANNELS; i++) {