diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-07-30 18:22:16 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-07-30 18:22:16 +0200 |
commit | 9a2da5246960c024907cbf3c4cd9fde61a329207 (patch) | |
tree | 333820813484184bcba5d1534fdc5f2ff6ecbe5a /drumgizmo/jackclient.h | |
parent | 509568c03ca4b64266675735d677267ec265c49e (diff) |
Add free-wheel mode for Jack (untested).
Diffstat (limited to 'drumgizmo/jackclient.h')
-rw-r--r-- | drumgizmo/jackclient.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drumgizmo/jackclient.h b/drumgizmo/jackclient.h index f093220..8c5954d 100644 --- a/drumgizmo/jackclient.h +++ b/drumgizmo/jackclient.h @@ -36,6 +36,8 @@ public: virtual void jack_process(jack_nframes_t nframes) = 0; }; +class DrumGizmo; + class JackClient { public: JackClient(); @@ -51,12 +53,17 @@ public: void activate(); int process(jack_nframes_t nframes); + void setFreeWheel(bool freewheel); + jack_client_t *jack_client; + void setEngine(DrumGizmo* drumgizmo); + // Sort of private... int refcnt; private: + DrumGizmo* drumgizmo; std::set<JackProcess *> jack_processes; bool active; }; |