From 6b1a30cc3d5e00bd210b27344fceb1c863b23ed6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 14 Oct 2014 17:33:08 +0200 Subject: A bit of code cleanup in preparation for merging with master. --- src/drumgizmo.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 2370d43..9252afc 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -57,8 +57,6 @@ bool DrumGizmo::loadkit(std::string file) { if(file == "") return 1; - printf("loadkit() go\n"); - DEBUG(drumgizmo, "loadkit(%s)\n", file.c_str()); // Remove all queue AudioFiles from loader before we actually delete them. @@ -70,8 +68,7 @@ bool DrumGizmo::loadkit(std::string file) DrumKitParser parser(file, kit); if(parser.parse()) { ERR(drumgizmo, "Drumkit parser failed: %s\n", file.c_str()); - printf("loadkit() parser failed\n"); - return false; + return false; } loader.loadKit(&kit); @@ -86,7 +83,6 @@ bool DrumGizmo::loadkit(std::string file) DEBUG(loadkit, "loadkit: Success\n"); - printf("loadkit() done\n"); return true; } @@ -172,7 +168,6 @@ void DrumGizmo::handleMessage(Message *msg) bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) { - // printf("."); fflush(stdout); // Handle engine messages, at most one in each iteration: handleMessages(1); @@ -269,7 +264,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) } free(evs); - + // // Write audio // @@ -357,7 +352,6 @@ void DrumGizmo::run(int endpos) free(samples); } -#undef SSE #ifdef SSE #define N 8 -- cgit v1.2.3