summaryrefslogtreecommitdiff
path: root/src/cachemanager.h
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2015-04-11 12:53:34 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2015-04-11 12:53:34 +0200
commitac5125e6eb16ec769b4fa541366898e0ebc83923 (patch)
tree304ce0f8194bf3a0664c014ee9f4d379c84deede /src/cachemanager.h
parent3742ac29b3ab8b39b3c8cb820ed988b553de27bb (diff)
Handling frames in next.
Diffstat (limited to 'src/cachemanager.h')
-rw-r--r--src/cachemanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h
index 264f644..6a60880 100644
--- a/src/cachemanager.h
+++ b/src/cachemanager.h
@@ -49,7 +49,7 @@ public:
CacheManager();
~CacheManager();
- void init(int poolsize);
+ void init(size_t poolsize);
void deinit();
void thread_main();
@@ -89,8 +89,8 @@ private:
AudioFile *file;
int channel;
size_t pos;
- void *a;
- void *b;
+ sample_t *front;
+ sample_t *back;
} cache_t;
enum cmd_t {