summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-16 19:26:37 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-16 19:26:37 +0200
commitbc7d41279222dbd07f8e6f02f067347d10c69f33 (patch)
treef9eb86bf41430a749fbbf779207f49786922f690 /src/drumgizmo.cc
parent20c37dd67deaa52f32ab7cde142c0dc91db57650 (diff)
Change printf's to DEBUG.
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc10
1 files changed, 5 insertions, 5 deletions
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]);