diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dgreftest/midiinputengine.cc | 5 | ||||
-rw-r--r-- | test/dgreftest/midiinputengine.h | 1 | ||||
-rw-r--r-- | test/engine.cc | 1 |
3 files changed, 7 insertions, 0 deletions
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<event_t>& 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<event_t>& events) override; void post() override; + bool isFreewheeling() const override; private: smf_t* smf; diff --git a/test/engine.cc b/test/engine.cc index 11fa720..96d513f 100644 --- a/test/engine.cc +++ b/test/engine.cc @@ -60,6 +60,7 @@ public: void pre() {} void run(size_t pos, size_t len, std::vector<event_t>& events) {} void post() {} + bool isFreewheeling() const { return true; } }; class test_engine : public CppUnit::TestFixture |