summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-24 09:37:11 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-24 09:37:11 +0100
commitd94be96105660880a94bb778e9d220396f719e61 (patch)
treef8d7b4b9c4b21b4238912c50cf417ddd47ad82c9 /src
parentd566da586b0de3886eba9c69e2826cef5e0c5041 (diff)
Remove some debug output.
Diffstat (limited to 'src')
-rw-r--r--src/drumgizmo.cc5
1 files changed, 1 insertions, 4 deletions
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) {