summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r--plugin/drumgizmo_plugin.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index 847d8d2..a5dd7be 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -479,6 +479,11 @@ size_t DrumGizmoPlugin::Output::getBufferSize() const
return plugin.getFramesize();
}
+std::size_t DrumGizmoPlugin::Output::getSamplerate() const
+{
+ return plugin.drumgizmo->samplerate();
+}
+
bool DrumGizmoPlugin::Output::isFreewheeling() const
{
return plugin.getFreeWheel();