From 32606894c67e6be27ba853a8bc3e97c808c14987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Wed, 13 Jul 2016 16:33:11 +0200 Subject: Introduce output engine isFreewheeling method. --- plugin/drumgizmo_plugin.cc | 5 +++++ plugin/drumgizmo_plugin.h | 1 + 2 files changed, 6 insertions(+) (limited to 'plugin') diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 7202770..4f3edf2 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -309,3 +309,8 @@ size_t DrumGizmoPlugin::Output::getBufferSize() const { return plugin.getFramesize(); } + +bool DrumGizmoPlugin::Output::isFreewheeling() const +{ + return plugin.getFreeWheel(); +} diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index 3508c3e..0adc240 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -143,6 +143,7 @@ private: sample_t *getBuffer(int ch) const override; size_t getBufferSize() const override; + bool isFreewheeling() const override; protected: DrumGizmoPlugin& plugin; -- cgit v1.2.3