summaryrefslogtreecommitdiff
path: root/test/dgreftest
diff options
context:
space:
mode:
Diffstat (limited to 'test/dgreftest')
-rw-r--r--test/dgreftest/midiinputengine.cc5
-rw-r--r--test/dgreftest/midiinputengine.h1
2 files changed, 6 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;