summaryrefslogtreecommitdiff
path: root/drumgizmo/input/jackmidi.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-07-13 18:32:52 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-07-13 18:32:52 +0200
commiteb3a5e8834c1af80fc5196e5c8f5788e8a2b2167 (patch)
tree51b315faab10b1fdbb6508d6f89d818024a6cefb /drumgizmo/input/jackmidi.cc
parent32606894c67e6be27ba853a8bc3e97c808c14987 (diff)
Introduce input engine isFreewheeling method.
Diffstat (limited to 'drumgizmo/input/jackmidi.cc')
-rw-r--r--drumgizmo/input/jackmidi.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/drumgizmo/input/jackmidi.cc b/drumgizmo/input/jackmidi.cc
index 7eeae7d..7c5cf1c 100644
--- a/drumgizmo/input/jackmidi.cc
+++ b/drumgizmo/input/jackmidi.cc
@@ -101,6 +101,11 @@ void JackMidiInputEngine::post()
{
}
+bool JackMidiInputEngine::isFreewheeling() const
+{
+ return client.isFreewheeling();
+}
+
void JackMidiInputEngine::process(jack_nframes_t num_frames)
{
assert(port != nullptr);