diff options
-rw-r--r-- | src/cachemanager.h | 7 |
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; |