summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-08-01 16:54:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-01 17:04:12 +0200
commit857da27194ea621734be7df4c1d940992dbb26e9 (patch)
tree8698f4347b1a1ac0c1133533963b64f7eb041eaf /plugin/drumgizmo_plugin.cc
parent982aad68eedfcd70a19864c31255e70a34876db4 (diff)
Remove the last references to hardcoded 44k1Hz samplerate.
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();