Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CPU hogging of the midi_thread()
The midi thread was always late after 2^31-1 Samples (~13.5h at 44.1kHz), because when there's no time limit, a uint64_t sample counter was compared against a signed 32bit INT_MAX to determine lateness. Now the CPU lockup will occur only after ~3 million years (at 192kHz), and because of the overflow it will presumably fix itself after a few milliseconds.
- Loading branch information