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>2015-07-30 18:22:16 +0200
commit9a2da5246960c024907cbf3c4cd9fde61a329207 (patch)
tree333820813484184bcba5d1534fdc5f2ff6ecbe5a /drumgizmo/jackclient.h
parent509568c03ca4b64266675735d677267ec265c49e (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;
};