summaryrefslogtreecommitdiff
path: root/test/dgreftest/midiinputengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dgreftest/midiinputengine.cc')
-rw-r--r--test/dgreftest/midiinputengine.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dgreftest/midiinputengine.cc b/test/dgreftest/midiinputengine.cc
index 84f4cc6..e984d58 100644
--- a/test/dgreftest/midiinputengine.cc
+++ b/test/dgreftest/midiinputengine.cc
@@ -192,6 +192,11 @@ void MidifileInputEngine::post()
{
}
+void MidifileInputEngine::setSampleRate(double sample_rate)
+{
+ this->samplerate = sample_rate;
+}
+
bool MidifileInputEngine::isFreewheeling() const
{
return true;