From 2247c698d8f7dc5725f4d491e798c5147273ca1e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 14 Jul 2016 18:51:08 +0200 Subject: Move free-wheel control into the main run method. --- test/dgreftest/dgreftest.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'test') diff --git a/test/dgreftest/dgreftest.cc b/test/dgreftest/dgreftest.cc index 2413ae7..f9eef03 100644 --- a/test/dgreftest/dgreftest.cc +++ b/test/dgreftest/dgreftest.cc @@ -88,7 +88,6 @@ int main(int argc, char* argv[]) DrumGizmo drumgizmo(settings, *oe.get(), ie); drumgizmo.setRandomSeed(seed); - drumgizmo.setFreeWheel(true); // Run in-sync with disk-cache drumgizmo.setFrameSize(oe->getBufferSize()); // settings.enable_resampling.store(false); // Bypass resampler - BROKEN @@ -143,8 +142,6 @@ int main(int argc, char* argv[]) while(drumgizmo.run(pos, samples, nsamples) == true) { pos += nsamples; - - drumgizmo.setFreeWheel(ie.isFreewheeling() && oe->isFreewheeling()); } ie.stop(); -- cgit v1.2.3