diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-08-01 16:54:34 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-08-01 17:04:12 +0200 |
commit | 857da27194ea621734be7df4c1d940992dbb26e9 (patch) | |
tree | 8698f4347b1a1ac0c1133533963b64f7eb041eaf /test/dgreftest/midiinputengine.cc | |
parent | 982aad68eedfcd70a19864c31255e70a34876db4 (diff) |
Remove the last references to hardcoded 44k1Hz samplerate.
Diffstat (limited to 'test/dgreftest/midiinputengine.cc')
-rw-r--r-- | test/dgreftest/midiinputengine.cc | 5 |
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; |