summaryrefslogtreecommitdiff
path: root/src/drumkitloader.h
diff options
context:
space:
mode:
authorjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 09:33:03 +0200
committerjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 09:33:03 +0200
commitb01735c66d7a3aaa9102b9994a50b80db746c8f0 (patch)
tree5e82f11a9c973433226e418c0409c8ce4309ba2e /src/drumkitloader.h
parent510d7da958153afd3749906e2dd816bc9c41efc6 (diff)
parent3dcc42c508dd798b9034f77e6f83ec75e648936c (diff)
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r--src/drumkitloader.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/drumkitloader.h b/src/drumkitloader.h
index b9bc102..50b8236 100644
--- a/src/drumkitloader.h
+++ b/src/drumkitloader.h
@@ -48,13 +48,18 @@ public:
bool isDone();
+ void stop();
+ void skip();
+
private:
DrumGizmo *drumgizmo;
Semaphore semaphore;
+ Semaphore skip_semaphore;
DrumKit *kit;
bool is_done;
Mutex mutex;
- bool quitit;
+ volatile bool quitit;
+ volatile bool skipit;
};
#endif/*__DRUMGIZMO_DRUMKITLOADER_H__*/