summaryrefslogtreecommitdiff
path: root/src/drumkitloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r--src/drumkitloader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drumkitloader.h b/src/drumkitloader.h
index 2c0ea8e..550d885 100644
--- a/src/drumkitloader.h
+++ b/src/drumkitloader.h
@@ -85,15 +85,20 @@ public:
*/
void skip();
+ void setFrameSize(size_t framesize);
+
private:
Semaphore run_semaphore;
Semaphore semaphore;
+ Semaphore framesize_semaphore;
Mutex mutex;
volatile bool running;
std::list<AudioFile*> load_queue;
size_t total_num_audiofiles;
size_t fraction;
size_t loaded;
+
+ size_t framesize;
};
#endif/*__DRUMGIZMO_DRUMKITLOADER_H__*/