mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-20 10:17:05 +00:00
Adjusted stepper logic; some disks load now.
This commit is contained in:
@@ -90,6 +90,7 @@ void TimedEventLoop::set_next_event_time_interval(Time interval) {
|
||||
|
||||
// If even that doesn't work then reduce precision.
|
||||
if(numerator < 0 || denominator < 0 || denominator > std::numeric_limits<int>::max()) {
|
||||
// printf(".");
|
||||
const double double_interval = interval.get<double>();
|
||||
const double double_subcycles_remaining = subcycles_until_event_.get<double>();
|
||||
const double output = double_interval * static_cast<double>(input_clock_rate_) + double_subcycles_remaining;
|
||||
|
||||
Reference in New Issue
Block a user