diff options
author | Chris Xiong <chirs241097@gmail.com> | 2021-06-04 22:23:19 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2021-06-04 22:23:19 +0800 |
commit | 9981f1d60352c01ae4373b84acd05460e2aa49d5 (patch) | |
tree | 3c75ad61509a3a58663c706015edbe9d82fe103f /visualization/qmpvisualization.hpp | |
parent | 28402bb0af8d1ca1e1c6c9408ebe18738c19c0da (diff) | |
download | QMidiPlayer-9981f1d60352c01ae4373b84acd05460e2aa49d5.tar.xz |
Rendered visualization should no longer drift away from correct timing...
... after tempo changes.
Diffstat (limited to 'visualization/qmpvisualization.hpp')
-rw-r--r-- | visualization/qmpvisualization.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/visualization/qmpvisualization.hpp b/visualization/qmpvisualization.hpp index c0bc067..c53f548 100644 --- a/visualization/qmpvisualization.hpp +++ b/visualization/qmpvisualization.hpp @@ -42,6 +42,7 @@ private: uint32_t rpnid[16], rpnval[16]; std::chrono::steady_clock::time_point lst; double etps; + double roffset; bool shouldclose, playing, debug; bool rendermode, hidewindow; int herh, heh, hfrf; |