summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2015-04-11 19:15:58 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:23:12 +0100
commit6bf5332db34b4e76f52ef321fcf70d67872782dd (patch)
tree5d59e77756c80e671cb43bcf1dc9b2e37512baa5 /src
parent1af357c6f16ee02be4f521cd77991ec9bfa80862 (diff)
ADded local cache.
Diffstat (limited to 'src')
-rw-r--r--src/cachemanager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h
index e0bf7f9..e565542 100644
--- a/src/cachemanager.h
+++ b/src/cachemanager.h
@@ -152,12 +152,13 @@ private:
cacheid_t id;
size_t pos;
cmd_t cmd;
+ sample_t **fillbuffer;
} event_t;
- CacheManager::event_t createLoadNextEvent(cacheid_t id, size_t pos, cmd_t type);
- void loadNext(cacheid_t id);
+ CacheManager::event_t createLoadNextEvent(cacheid_t id, size_t pos, sample_t** fillbuffer);
+ void loadNext(event_t &e);
void pushEvent(event_t e);
- const cache_t getNextCache(cacheid_t id);
+ cache_t getNextCache(cacheid_t id);
// Protected by mutex
std::list<event_t> eventqueue;