diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-12 09:48:41 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-20 13:23:12 +0100 |
commit | c7dd42879ab82c9d696b2e59f9de2281279dc905 (patch) | |
tree | 1f9b447e5735155da66ffeb3abe535d21bbe9120 /src/cachemanager.h | |
parent | b54e3f4433fb6c74db1f1451babf0650afdcab14 (diff) |
Added buffers and removed local cache vectors.
Diffstat (limited to 'src/cachemanager.h')
-rw-r--r-- | src/cachemanager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h index e565542..1b79568 100644 --- a/src/cachemanager.h +++ b/src/cachemanager.h @@ -140,6 +140,7 @@ private: size_t pos; sample_t *front; sample_t *back; + size_t localpos; } cache_t; enum cmd_t { @@ -152,10 +153,10 @@ private: cacheid_t id; size_t pos; cmd_t cmd; - sample_t **fillbuffer; + sample_t *fillbuffer; } event_t; - CacheManager::event_t createLoadNextEvent(cacheid_t id, size_t pos, sample_t** fillbuffer); + CacheManager::event_t createLoadNextEvent(cacheid_t id, size_t pos, sample_t* fillbuffer); void loadNext(event_t &e); void pushEvent(event_t e); cache_t getNextCache(cacheid_t id); |