13
0
livetrax/libs/temporal
Mads Kiilerich 622876c8ab temporal: reset global superclock rate when creating a new session
The superclock rate is variable and is stored in session files since
7.0 . It is set globally when reading from a session file, and it really
should be reset to a known state whenever a new blank session is
created from an existing one. Currently, that doesn't happen. We fix
that by resetting it in Temporal::reset().

For now, we are duplicating the default superclock rate 282240000 from
superclock.h , but we can drop that when all code paths that use
superclock also use Temporal::reset().

This will provide an (extra) guarantee that
set_superclock_ticks_per_second() always is invoked before creating
TempoMap or using superclock_ticks_per_second() in other ways. The
DEBUG_EARLY_SCTS_USE in superclock.h is thus closer to passing.
2023-09-20 12:30:53 -06:00
..
MSVCtemporal
temporal temporal: introduce Temporal::reset() with TempoMap initialization 2023-09-20 12:30:53 -06:00
test
bbt_time.cc
beats.cc
debug.cc
domain.cc
enums.cc temporal: reset global superclock rate when creating a new session 2023-09-20 12:30:53 -06:00
range.cc
superclock.cc increase superclock_ticks_per_second to provide integer handling for NTSC (following Facebook "flicks") 2022-10-13 18:05:49 -06:00
tempo.cc temporal: fix weird typo in tempo map cut/copy code 2023-09-19 14:16:18 -06:00
test2.cc
test.cc
time.cc
timeline.cc
wscript