summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-22 22:42:05 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-22 22:42:05 +0100
commit47e1f28f1fe9fecf969d63f059b8ec8c0184605e (patch)
tree47ac2c6a2256b75601fa7077c994cdbfbeadc62a /src/instrument.cc
parent70cc80a11a44c73c3cf548c7cedf2a520a025fb6 (diff)
Added Engine->Messageing system. Implemented LoadStatus Message. Added ProgressBar widget. Made FileBrowser chdir to old value (needs further fixing). More printf->hugin ports.
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;