|
|
@ -1225,6 +1225,7 @@ This is not unlike multiway merging used for tape sorting algoritms in the 50's! |
|
|
|
unsigned long long temp; |
|
|
|
unsigned long long temp; |
|
|
|
temp = ((unsigned long long) delta_time * tempo) / ticks_per_beat; |
|
|
|
temp = ((unsigned long long) delta_time * tempo) / ticks_per_beat; |
|
|
|
delta_msec = temp / 1000; // get around LCC compiler bug
|
|
|
|
delta_msec = temp / 1000; // get around LCC compiler bug
|
|
|
|
|
|
|
|
if (delta_msec) { |
|
|
|
if (loggen) |
|
|
|
if (loggen) |
|
|
|
fprintf (logfile, "->Delay %ld msec (%ld ticks)\n", delta_msec, delta_time); |
|
|
|
fprintf (logfile, "->Delay %ld msec (%ld ticks)\n", delta_msec, delta_time); |
|
|
|
if (delta_msec > 0x7fff) |
|
|
|
if (delta_msec > 0x7fff) |
|
|
@ -1239,6 +1240,7 @@ This is not unlike multiway merging used for tape sorting algoritms in the 50's! |
|
|
|
outfile_items (2); |
|
|
|
outfile_items (2); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
timenow = earliest_time; |
|
|
|
timenow = earliest_time; |
|
|
|
|
|
|
|
|
|
|
|
/* If this track event is "set tempo", just change the global tempo.
|
|
|
|
/* If this track event is "set tempo", just change the global tempo.
|
|
|
|