13
0
livetrax/libs
Robin Gareus b5d7754a26
Fix MIDI Clock generator
MIDI clock start at the next beat (round_up_to_beat), so
here we have to round the current tick, rather than fall
back to a tick that is not yet complete, as 14da117bc8 does.

Reproduced with the Session from #9027
Start loop at bar 40 with MClk generator enabled.

```
#3  in __GI___assert_fail (assertion=0x7fedd86c4fd5 "clk_pos >= pos", file=0x7fedd86c38b7 "../libs/temporal/tempo.cc", line=3336, function=0x7fedd86c4f60 "void Temporal::TempoMap::midi_clock_beat_at_or_after(Temporal::samplepos_t, Temporal::samplepos_t&, uint32_t&) const") at assert.c:101
#4  in Temporal::TempoMap::midi_clock_beat_at_or_after(long, long&, unsigned int&) const (this= 0x560187e92c00, pos=20691033, clk_pos=@0x7fedc02178b8: 20691032, clk_beat=@0x7fedc02178c4: 11472) at ../libs/temporal/tempo.cc:3336
#5  in ARDOUR::MidiClockTicker::tick(long, long, unsigned int, long) (this=0x56018eed6db0, start_sample=20691033, end_sample=20692057, n_samples=1024, pre_roll=0) at ../libs/ardour/ticker.cc:170
#6  in ARDOUR::Session::send_mclk_for_cycle(long, long, unsigned int, long) (this=0x56018a216340, start_sample=20691033, end_sample=20692057, n_samples=1024, pre_roll=0) at ../libs/ardour/session.cc:7495
#7  in ARDOUR::AudioEngine::process_callback(unsigned int) (this=0x5601881a4f20, nframes=1024) at ../libs/ardour/audioengine.cc:563
```
2022-10-24 06:18:30 +02:00
..
appleutility
ardour Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
ardouralsautil
audiographer
auscan Change tools --help URLs to use https 2022-10-24 04:57:30 +02:00
backends JACKAudioBackend::join_process_threads: Don’t pass NULL for jack_client_stop_thread 2022-10-24 04:45:08 +02:00
canvas Fix proximity threshold for polyline 2022-10-17 00:09:25 +02: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 Change tools --help URLs to use https 2022-10-24 04:57:30 +02:00
gtkmm2ext Mark window invisible after deleting it 2022-10-21 18:11:19 +02:00
hidapi
libltc
lua Potential fix for C++20 std::set::* ambiguity 2022-10-19 16:06:47 +02:00
midi++2
panners
pbd Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
plugins
ptformat
qm-dsp
surfaces Add dedicated InsertReturnLevel type 2022-10-14 02:21:49 +02:00
temporal Fix MIDI Clock generator 2022-10-24 06:18:30 +02:00
vamp-plugins
vamp-pyin
vfork
vst3
waveview Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
widgets
zita-convolver
zita-resampler