diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-07-13 21:55:26 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-07-13 21:55:26 +0200 |
commit | 9b2fdd7bc8bf274e3fe39f28d4b01e5918389d92 (patch) | |
tree | 24344fa89e663d8f9188f3dda36bb52936ba1f81 /test/dgreftest/dgreftest.cc | |
parent | 61fff9f1cb64f50f1655e1ca650c0565c1e54799 (diff) |
Simplify free wheel loop control a bit.
Diffstat (limited to 'test/dgreftest/dgreftest.cc')
-rw-r--r-- | test/dgreftest/dgreftest.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/dgreftest/dgreftest.cc b/test/dgreftest/dgreftest.cc index ead3172..475ea24 100644 --- a/test/dgreftest/dgreftest.cc +++ b/test/dgreftest/dgreftest.cc @@ -144,14 +144,7 @@ int main(int argc, char* argv[]) { pos += nsamples; - if(ie.isFreewheeling() && oe->isFreewheeling()) - { - drumgizmo.setFreeWheel(true); - } - else - { - drumgizmo.setFreeWheel(false); - } + drumgizmo.setFreeWheel(ie.isFreewheeling() && oe.isFreewheeling()); } ie.stop(); |