diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-07-13 18:33:18 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-07-13 18:33:18 +0200 |
commit | 8c6251b520be7c703ea2df223ad8c166c971eb68 (patch) | |
tree | 64c0e83cf92ee2f2d2462d03613caa31031a3c48 /test | |
parent | eb3a5e8834c1af80fc5196e5c8f5788e8a2b2167 (diff) |
Consider freewheeling of engines in drumgizmo and dgreftest.
Diffstat (limited to 'test')
-rw-r--r-- | test/dgreftest/dgreftest.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/dgreftest/dgreftest.cc b/test/dgreftest/dgreftest.cc index 0147244..ead3172 100644 --- a/test/dgreftest/dgreftest.cc +++ b/test/dgreftest/dgreftest.cc @@ -143,6 +143,15 @@ int main(int argc, char* argv[]) while(drumgizmo.run(pos, samples, nsamples) == true) { pos += nsamples; + + if(ie.isFreewheeling() && oe->isFreewheeling()) + { + drumgizmo.setFreeWheel(true); + } + else + { + drumgizmo.setFreeWheel(false); + } } ie.stop(); |