summaryrefslogtreecommitdiff
path: root/drumgizmo/jackclient.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-07-30 18:22:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:31:10 +0100
commitc3841a8cec9d239bca27a113c013a032dfc658bd (patch)
treec5ce7fab48505ac383ac72acd80de030c8f18a2d /drumgizmo/jackclient.h
parent91f5d293bce4a15a1883d0693f478917bb256b40 (diff)
Add free-wheel mode for Jack (untested).
Diffstat (limited to 'drumgizmo/jackclient.h')
-rw-r--r--drumgizmo/jackclient.h7
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;
};