From d94be96105660880a94bb778e9d220396f719e61 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 24 Jan 2016 09:37:11 +0100 Subject: Remove some debug output. --- src/drumgizmo.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index a83b312..ac95812 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -178,15 +178,13 @@ void DrumGizmo::setFrameSize(size_t framesize) } if(this->framesize != framesize) { - printf("New framesize: %d\n", (int)framesize); + DEBUG(drumgizmo, "New framesize: %d\n", (int)framesize); this->framesize = framesize; // Update framesize in drumkitloader and cachemanager: loader.setFrameSize(framesize); - printf("loader.setFrameSize\n"); fflush(stdout); audioCache.setFrameSize(framesize); - printf("audioCache.setFrameSize\n"); fflush(stdout); } } @@ -359,7 +357,6 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) size_t kitpos = pos * resampler[0].ratio(); size_t insize = sizeof(resampler_input_buffer[0]) / sizeof(sample_t); - //printf("ratio: %f\n", resampler[c].ratio()); while(resampler[0].getOutputSampleCount() > 0) { for(size_t c = 0; c < kit.channels.size(); c++) { if(resampler[c].getInputSampleCount() == 0) { -- cgit v1.2.3