From 47e1f28f1fe9fecf969d63f059b8ec8c0184605e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 22 Mar 2013 22:42:05 +0100 Subject: Added Engine->Messageing system. Implemented LoadStatus Message. Added ProgressBar widget. Made FileBrowser chdir to old value (needs further fixing). More printf->hugin ports. --- src/instrument.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/instrument.cc') 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 #include +#include + #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::iterator i = audiofiles.begin(); while(i != audiofiles.end()) { delete *i; -- cgit v1.2.3