From bc7d41279222dbd07f8e6f02f067347d10c69f33 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 16 May 2013 19:26:37 +0200 Subject: Change printf's to DEBUG. --- src/drumgizmo.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/drumgizmo.cc') diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 88436ec..e0be30b 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -332,12 +332,12 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) Channel &ch = *j; AudioFile *af = s->getAudioFile(&ch); if(af) { -// LAZYLOAD: -// printf("Requesting preparing of audio file\n"); -// loader.prepare(af); + // LAZYLOAD: + // DEBUG(drumgizmo,"Requesting preparing of audio file\n"); + // loader.prepare(af); } if(af == NULL || !af->isValid()) { - //printf("Missing AudioFile.\n"); + //DEBUG(drumgizmo,"Missing AudioFile.\n"); } else { //DEBUG(drumgizmo, "Adding event %d.\n", evs[e].offset); Event *evt = new EventSample(ch.num, 1.0, af, i->group(), i); @@ -432,7 +432,7 @@ void DrumGizmo::getSamples(int ch, int pos, sample_t *s, size_t sz) if(evt->rampdown == NO_RAMPDOWN) { #ifdef SSE -// printf("%d\n", evt->t); fflush(stdout); +// DEBUG(drumgizmo,"%d\n", evt->t); fflush(stdout); size_t optend = ((end - n) / N) * N + n; for(; n < optend; n += N) { *(vNsf*)&(s[n]) += *(vNsf*)&(af->data[evt->t]); -- cgit v1.2.3