diff options
author | Chris Xiong <chirs241097@gmail.com> | 2020-12-14 14:07:49 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2020-12-14 14:07:49 +0800 |
commit | 64fd118e1c5944befcf067a0e99d6d138c7559cb (patch) | |
tree | 71ff8b662c266dda6940b54fb45da642143532e0 /img/play.png | |
parent | fcd13f9b227d80e066775f75b09bc6ec9337bfc8 (diff) | |
download | QMidiPlayer-64fd118e1c5944befcf067a0e99d6d138c7559cb.tar.xz |
Before we have tick-based playback, we get this monstrosity.
This should help fixing issues such as "welp my player freezes when I
switch tracks" etc.
Don't worry. Event-based playback is here to stay. TODOs:
- Maybe switch to an implementation based on condition variables?
Current implementation is just a mess and unnecessarily wastes
CPU time. Also that will allow several new interfaces to be added
(such as player.interrupt)
- Fix seeking. Seeking is still weird if there's a long gap between
events.
Diffstat (limited to 'img/play.png')
0 files changed, 0 insertions, 0 deletions