From 9a0abf4a45c516b15d74ab41f8dab8348d6b00c9 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 15 Jun 2016 07:53:25 +0200 Subject: Make sure we abide the samplerate in all input/output engines. --- drumgizmo/input/test.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drumgizmo/input/test.h') diff --git a/drumgizmo/input/test.h b/drumgizmo/input/test.h index 1edf386..70936ea 100644 --- a/drumgizmo/input/test.h +++ b/drumgizmo/input/test.h @@ -45,9 +45,11 @@ public: void pre() override; void run(size_t pos, size_t len, std::vector& events) override; void post() override; + void setSampleRate(double sample_rate) override; private: float probability; int instrument; int length; + double sample_rate; }; -- cgit v1.2.3