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 temporal: unit testing more like unit testing 2023-06-08 14:01:17 -06:00
bbt_time.cc temporal: add BBT_Time::round_up_to_beat_div() 2023-09-04 19:41:25 -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
domain.cc add get/set state methods to TimeDomainProvider 2023-08-16 16:33:17 -06:00
enums.cc temporal: reset global superclock rate when creating a new session 2023-09-20 12:30:53 -06:00
range.cc temporal: operator<< for Range and RangeList 2023-03-24 14:19:16 -06:00
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 temporal: reference time for BBT_Argument is always superclocks 2023-06-30 12:10:50 -06:00
wscript wscript: drop unused "mandatory variables" 'top' and 'out' in libs 2023-09-17 07:34:55 -06:00