summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrument.cc')
-rw-r--r--src/instrument.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/instrument.cc b/src/instrument.cc
index b10d990..297e6c6 100644
--- a/src/instrument.cc
+++ b/src/instrument.cc
@@ -29,19 +29,21 @@
#include <stdlib.h>
#include <stdio.h>
+#include <hugin.hpp>
+
#include "sample.h"
#include "configuration.h"
Instrument::Instrument()
{
- printf("new Instrument %p\n", this);
+ DEBUG(instrument, "new %p\n", this);
mod = 1.0;
lastpos = 0;
}
Instrument::~Instrument()
{
- printf("delete Instrument %p\n", this);
+ DEBUG(instrument, "delete %p\n", this);
std::vector<AudioFile*>::iterator i = audiofiles.begin();
while(i != audiofiles.end()) {
delete *i;