13
0
livetrax/libs
Robin Gareus 8240875379
Prevent overflow for huge time values (fix 99h clock limit @96kHz)
The default clock-limit is 99:59:59:00, just under 360000 seconds
(see ARDOUR_UI::parameter_changed, clock-display-limit).

AudioClock calculates this limit pos as
`timepos_t (limit_sec * _session->sample_rate())`

This caused an overflow leading to a negative value:
```
   timepos_t (359999 * 96000)
   samples_to_superclock (359999 * 96000, 96000)
   int_div_round (359999 * 96000 * 282240000, 96000)
```

Ideally this will be optimized, here the sample-rate cancels out,
so we could use a c'tor usin seconds.
In other cases we could cache the pre-calculated sc_per_sample:
`superclock_ticks_per_second() / superclock_t (sr)` which is an
integer for all commonly used sample-rates.
2022-10-16 18:46:36 +02:00
..
appleutility
ardour PortInsert: remove old API to query latency 2022-10-14 02:21:50 +02:00
ardouralsautil Distinct stderr messages from ARD 2022-09-12 16:15:10 +02:00
audiographer Fix typos 2022-09-21 19:09:55 -06:00
auscan
backends Increase coreMIDI robustness, do not drop late events 2022-09-24 02:29:50 +02:00
canvas canvas: NOOP - meter, whitespace adjustment 2022-09-03 16:46:41 -06:00
clearlooks-newer
evoral increment/decrement name changes ... out with old in with the new (libs 2022-10-07 17:30:35 -06:00
fluidsynth
fst
gtkmm2ext Prevent duplicate signal emission 2022-10-08 17:12:10 +02:00
hidapi
libltc
lua LuaBridge - add API to try convert a value 2022-09-26 21:39:21 +02:00
midi++2
panners
pbd Insert_or_assign properties, allow to override properties 2022-10-07 00:32:14 +02:00
plugins
ptformat
qm-dsp
surfaces Add dedicated InsertReturnLevel type 2022-10-14 02:21:49 +02:00
temporal Prevent overflow for huge time values (fix 99h clock limit @96kHz) 2022-10-16 18:46:36 +02:00
vamp-plugins
vamp-pyin Fix typos 2022-09-21 19:09:55 -06:00
vfork
vst3
waveview
widgets Allow multiple sizing texts for ArdourButton/Dropdown 2022-09-20 02:35:26 +02:00
zita-convolver
zita-resampler