diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-18 18:00:53 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-18 18:00:53 -0700 |
commit | 8b3e7fea37c906c5879cbf0226712d0a504bfef9 (patch) | |
tree | b8f7f0888ac072ffebdf787a61995d6312a49ced /libs | |
parent | aa856b509c43a390b5355458c20000086b686eb1 (diff) |
fix Temporal::Beats::operator*
Diffstat (limited to 'libs')
-rw-r--r-- | libs/temporal/temporal/beats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/temporal/temporal/beats.h b/libs/temporal/temporal/beats.h index 4aed64094a..5c8538641a 100644 --- a/libs/temporal/temporal/beats.h +++ b/libs/temporal/temporal/beats.h @@ -233,7 +233,7 @@ public: template<typename Number> Beats operator*(Number factor) const { - return Beats(_beats * factor, _ticks * factor); + return ticks ((_beats * PPQN + _ticks) * factor); } template<typename Number> |