Robin Gareus
c8ddfd5637
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 |
||
---|---|---|
.. | ||
appleutility | ||
ardour | ||
ardouralsautil | ||
audiographer | ||
auscan | ||
backends | ||
canvas | ||
clearlooks-newer | ||
evoral | ||
fluidsynth | ||
fst | ||
gtkmm2ext | ||
hidapi | ||
libltc | ||
lua | ||
midi++2 | ||
panners | ||
pbd | ||
plugins | ||
ptformat | ||
qm-dsp | ||
surfaces | ||
temporal | ||
vamp-plugins | ||
vamp-pyin | ||
vfork | ||
vst3 | ||
waveview | ||
widgets | ||
zita-convolver | ||
zita-resampler |