ardour/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 wscript: drop unnecessary trailing ";" 2022-04-09 12:16:41 +02:00
ardour Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +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 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 Fix various typos 2022-08-03 12:10:01 -06:00
lua Potential fix for C++20 std::set::* ambiguity 2022-10-19 16:06:47 +02:00
midi++2 fix strncpy() size argument error (Windows only, needs review) 2022-06-22 13:31:08 -06:00
panners Fix various typos 2022-08-03 12:10:01 -06:00
pbd Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
plugins Fix various typos 2022-08-03 12:10:01 -06:00
ptformat wscript: remove trailing whitespace 2022-04-09 12:16:37 +02:00
qm-dsp wscript: consistently have at most one empty separator line 2022-04-09 12:16:40 +02:00
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 Fix typos 2022-09-21 19:09:55 -06:00
vfork
vst3
waveview Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
widgets Allow multiple sizing texts for ArdourButton/Dropdown 2022-09-20 02:35:26 +02:00
zita-convolver
zita-resampler zita-resampler: pass-through data if not configured 2022-05-24 20:41:59 +02:00