summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-07 13:01:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-07 13:01:34 +0200
commit331be8dc452bf47705556d2a7f7f5988973930ca (patch)
tree164a30fd5cef68a39713315085da8bd7901a1d07 /src/instrument.h
parent064f0112bd825f1102a94e109e5329710d59eb82 (diff)
Fixed crashbug on drumkit reload.
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/instrument.h b/src/instrument.h
index 9b110be..b146cb2 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -50,7 +50,11 @@ public:
std::vector<AudioFile*> audiofiles;
+ bool isValid();
+
private:
+ void *magic;
+
std::string _name;
std::string _description;
RangeMap<level_t, Sample*> samples;