From eb3a5e8834c1af80fc5196e5c8f5788e8a2b2167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Wed, 13 Jul 2016 18:32:52 +0200 Subject: Introduce input engine isFreewheeling method. --- test/dgreftest/midiinputengine.cc | 5 +++++ test/dgreftest/midiinputengine.h | 1 + 2 files changed, 6 insertions(+) (limited to 'test/dgreftest') diff --git a/test/dgreftest/midiinputengine.cc b/test/dgreftest/midiinputengine.cc index bc0fa87..aba726f 100644 --- a/test/dgreftest/midiinputengine.cc +++ b/test/dgreftest/midiinputengine.cc @@ -190,3 +190,8 @@ void MidifileInputEngine::run(size_t pos, size_t len, std::vector& even void MidifileInputEngine::post() { } + +bool MidifileInputEngine::isFreewheeling() const +{ + return true; +} diff --git a/test/dgreftest/midiinputengine.h b/test/dgreftest/midiinputengine.h index 3740d44..a752ff5 100644 --- a/test/dgreftest/midiinputengine.h +++ b/test/dgreftest/midiinputengine.h @@ -50,6 +50,7 @@ public: void pre() override; void run(size_t pos, size_t len, std::vector& events) override; void post() override; + bool isFreewheeling() const override; private: smf_t* smf; -- cgit v1.2.3