ardour/libs/temporal
Robin Gareus c8ddfd5637 Fix C++ memory layout for the TempoMap
Usually C++ class instance has the same mem address as its first parent.
LuaBridge uses this to for derived classes. A TemopPoint instance has
the same address as its parent Tempo. However due to virtual inheritance
this was not the case due to a lack of virtual d'tor.

Now the following Lua code works correctly
```
tm = Temporal.TempoMap.read()
tp = Temporal.timepos_t (0)
print (tm:tempo_at(tp):note_type())
```

Previously the last line failed calling Tempo::note_type()
on a TempoPoint instance, due to memory offset e.g.
TempoPoint: 0x600000ff90e0 Tempo: 0x600000ff90e8
2022-09-28 04:12:11 +02:00
..
MSVCtemporal Further change needed for 'libtemporal' 2020-05-29 12:28:13 +01:00
temporal Fix C++ memory layout for the TempoMap 2022-09-28 04:12:11 +02:00
test convert internal implementation of Temporal::Beats to just use a 64 bit tick value 2022-06-21 12:26:54 -06:00
bbt_time.cc temporal: fix a bug in BBT_Time::round_up_to_bar() 2022-08-03 10:59:29 -06:00
beats.cc temporal: fix a bug in BBT_Time::round_up_to_bar() 2022-08-03 10:59:29 -06:00
debug.cc temporal: add new debug bit for debug tracing just TempoMap::reset_starting_at() 2022-05-13 19:05:13 -06:00
enums.cc libtemporal: add operator<<() for ratio_t 2021-08-13 12:51:32 -06:00
range.cc Remove Range::squish debug information, used fixed modulo operation 2022-06-30 01:07:32 +02:00
superclock.cc superclock_ticks_per_second: use an (inline) accessor, change value 2022-03-17 14:15:59 -06:00
tempo.cc remove some debug output 2022-09-21 09:13:26 -06:00
test.cc basic work on a Tempo object that avoids (almost) all floating point arithmetic 2021-08-13 12:51:28 -06:00
test2.cc tweak test code to check int62_t::min and flag bit 2021-08-13 12:51:30 -06:00
time.cc Fix remaining doxygen warnings (!) 2019-09-30 21:03:29 +02:00
timeline.cc Fix timecnt_t modulo operation when mixing time-domains 2022-06-30 01:07:32 +02:00
wscript wscript: remove trailing whitespace 2022-04-09 12:16:37 +02:00