Mirror of Ardour Source Code
Find a file
Mads Kiilerich 91314b68a5 temporal: always use Temporal::reset() for superclock and TempoMap default values
Make sure all code paths that use Temporal will initialize and reset it
properly. Some code paths (in tet runners) doesn't use Sessions, so
Temporal::reset() has to be invoked directly.

Just set the static superclock variable to 0 as initial value.
TempoMap will still be initialized early as a singleton, but we
introduce a new constructor so it is created empty (and thus not really
usable until Temporal::reset() or similar has populated it).

We can thus drop the static initialization of superclock. The default
superclock rate of 282240000 will now only live in Temporal::reset().

With this change there should no longer be any uninitialized use of
superclock_ticks_per_second(), and there should not be any problems for
DEBUG_EARLY_SCTS_USE to catch. (It is however broken in other ways -
that will be fixed next.)
2023-09-20 12:30:53 -06:00
doc short doc on drawing cairo single pixel lines 2023-07-17 16:46:54 -06:00
gtk2_ardour temporal: avoid using superclock in Editor::initialize_canvas before creating the session 2023-09-20 12:30:53 -06:00
headless wscript: drop unused "mandatory variables" 'top' and 'out' in libs 2023-09-17 07:34:55 -06:00
libs temporal: always use Temporal::reset() for superclock and TempoMap default values 2023-09-20 12:30:53 -06:00
luasession wscript: drop unused "mandatory variables" 'top' and 'out' in libs 2023-09-17 07:34:55 -06:00
msvc_extra_headers Fix various typos 2022-04-08 19:51:02 +02:00
MSVCardour3 remove midi_scroomer.h from MSVC project file 2023-09-10 18:20:35 -06:00
MSVCMixbus3 Initial changes needed for building Mixbus (with MSVC) as version 5 2018-09-10 07:14:59 +01:00
MSVCvst_scan Add/remove source(s) in our MSVC project (vst2_scanner) 2021-07-05 10:25:35 +01:00
session_utils wscript: drop unused "mandatory variables" 'top' and 'out' in libs 2023-09-17 07:34:55 -06:00
share wscript: drop unused "mandatory variables" 'top' and 'out' in libs 2023-09-17 07:34:55 -06:00
tools macos: temporarily exclude media files from packaging 2023-09-20 10:55:29 -06:00
.dir-locals.el
.gitattributes
.gitignore Ignore generaed translation files 2020-10-18 17:45:32 +02:00
ardour.1 Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
COPYING add plugin clarification to COPYING 2023-04-26 13:28:29 -06:00
nutempo-todo todo list text for nutempo-related tasks 2021-08-16 13:41:49 -06:00
PACKAGER_README
README Directly use HTTPS 2021-03-23 23:27:45 +01:00
README-GITHUB.txt Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
system_config
TRANSLATORS Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
waf Update waf binary, using doc/updating_waf.txt 2022-01-09 18:46:24 +01:00
wscript wscript: drop unused imports, manual 2023-09-17 07:34:55 -06:00

Please see the Ardour web site at https://ardour.org/ for all documentation..

For information on building ardour: 
      
     https://ardour.org/development.html