diff options
author | jsc@umbraculum.org <jsc@umbraculum.org> | 2013-04-26 09:33:03 +0200 |
---|---|---|
committer | jsc@umbraculum.org <jsc@umbraculum.org> | 2013-04-26 09:33:03 +0200 |
commit | b01735c66d7a3aaa9102b9994a50b80db746c8f0 (patch) | |
tree | 5e82f11a9c973433226e418c0409c8ce4309ba2e /src/drumkitloader.h | |
parent | 510d7da958153afd3749906e2dd816bc9c41efc6 (diff) | |
parent | 3dcc42c508dd798b9034f77e6f83ec75e648936c (diff) |
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r-- | src/drumkitloader.h | 7 |
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__*/ |