summaryrefslogtreecommitdiff
path: root/src/drumgizmo.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-19 08:32:44 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:33:45 +0100
commit7788892bfb8aaceaa67fccad1ea4aff325a5ac32 (patch)
treef86a2892629760037b1221cc1306ba6b703a2e70 /src/drumgizmo.h
parent189cce0e23dddaaaf4ab6e1cac387c9c954f22fa (diff)
Split CacheManager into several AudioCache classes and refactored the lot of them. Unit tests added.
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r--src/drumgizmo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h
index 240ae9f..1e38e08 100644
--- a/src/drumgizmo.h
+++ b/src/drumgizmo.h
@@ -37,7 +37,7 @@
#include "drumkit.h"
#include "drumkitloader.h"
-#include "cachemanager.h"
+#include "audiocache.h"
#include "mutex.h"
@@ -96,8 +96,7 @@ private:
std::map<std::string, AudioFile *> audiofiles;
- CacheManager cacheManager;
-
+ AudioCache audioCache;
DrumKit kit;
size_t framesize;