summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-10-14 17:33:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-10-14 17:33:08 +0200
commit6b1a30cc3d5e00bd210b27344fceb1c863b23ed6 (patch)
treec0868571168e829b4e426f10f4035afa1861c1c2 /src
parent64d860019b70c26520b17ecd98cf019b2d12ce9a (diff)
A bit of code cleanup in preparation for merging with master.
Diffstat (limited to 'src')
-rw-r--r--src/drumgizmo.cc10
1 files changed, 2 insertions, 8 deletions
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