From f371b33a800855390403a88e0a7c8096f59ba9e8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 28 Jan 2016 08:04:19 +0100 Subject: Disable resampler. --- src/drumgizmo.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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++) { -- cgit v1.2.3