summaryrefslogtreecommitdiff
path: root/src/cachemanager.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-07-27 19:36:28 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:31:09 +0100
commit41a6b0ebb6f71032c5a8e69e6aa8c813657224d7 (patch)
tree92c1fcd62d3b910fced00b51dd79ce302e1c33d7 /src/cachemanager.h
parent116b8dbef22bf3245bcf6c8195bf8bb8c0ea91d3 (diff)
Add free-wheel mode to LV2 and DrumGizmo class.
Diffstat (limited to 'src/cachemanager.h')
-rw-r--r--src/cachemanager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h
index 4fe813e..1660ecf 100644
--- a/src/cachemanager.h
+++ b/src/cachemanager.h
@@ -130,8 +130,17 @@ public:
*/
void close(cacheid_t id);
+ /**
+ * Set internal framesize used when iterating through cache buffers.
+ */
void setFrameSize(size_t framesize);
+ /**
+ * Control reader thread.
+ * Set to true to make reading happen threaded, false to do all reading sync.
+ */
+ void setAsyncMode(bool async);
+
///! Internal thread main method - needs to be public.
void thread_main();