diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 5 | ||||
-rw-r--r-- | plugin/drumgizmo_plugin.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 4f3edf2..2b0d2a8 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -233,6 +233,11 @@ void DrumGizmoPlugin::Input::post() { } +bool DrumGizmoPlugin::Input::isFreewheeling() const +{ + return plugin.getFreeWheel(); +} + // // Output Engine diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index 0adc240..14189c9 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -119,6 +119,8 @@ private: void run(size_t pos, size_t len, std::vector<event_t>& events) override; void post() override; + bool isFreewheeling() const override; + protected: DrumGizmoPlugin& plugin; const Instruments* instruments{nullptr}; |