summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-07-13 16:33:11 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-07-13 17:28:11 +0200
commit32606894c67e6be27ba853a8bc3e97c808c14987 (patch)
treef31c9d1bc08e2095b2cd724b5f0f0a27526c5a01 /plugin
parentd71485534d3a683cae4993815f59ff68263a6751 (diff)
Introduce output engine isFreewheeling method.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/drumgizmo_plugin.cc5
-rw-r--r--plugin/drumgizmo_plugin.h1
2 files changed, 6 insertions, 0 deletions
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;