diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-06-15 07:53:25 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-06-15 07:54:08 +0200 |
commit | 9a0abf4a45c516b15d74ab41f8dab8348d6b00c9 (patch) | |
tree | 1e915664db627f2dd124ee08a0cebe3d6c306b3c /drumgizmo/input/test.h | |
parent | 149d86611985b7a382994ac684d555660927e8d2 (diff) |
Make sure we abide the samplerate in all input/output engines.
Diffstat (limited to 'drumgizmo/input/test.h')
-rw-r--r-- | drumgizmo/input/test.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<event_t>& events) override; void post() override; + void setSampleRate(double sample_rate) override; private: float probability; int instrument; int length; + double sample_rate; }; |