Commit Graph

32761 Commits

Author SHA1 Message Date
Paul Davis 2a08e4bdaa continued work on timeline types conversion. in theory, just editor_ops.cc remains 2021-08-13 12:51:29 -06:00
Paul Davis aa56f4a16e GUI: moving along with timeline type conversion 2021-08-13 12:51:29 -06:00
Paul Davis ff93c97296 add a new PBD::Property for time_domain
Not sure this is in the best place, but it needs to go somewhere
2021-08-13 12:51:29 -06:00
Paul Davis 5b2a435e02 getting editor_drag.cc to compile 2021-08-13 12:51:29 -06:00
Paul Davis 5f4afa6a0e Session: changes to support timeline types more easily/correctly 2021-08-13 12:51:29 -06:00
Paul Davis 768ce21d9f Temporal: new files, likely to be removed in the final version 2021-08-13 12:51:29 -06:00
Paul Davis 9d69fa3820 another day or two's work on timeline type conversion 2021-08-13 12:51:29 -06:00
Paul Davis 04e8dbb342 another day of slow timeline type conversion 2021-08-13 12:51:29 -06:00
Paul Davis db8b054543 add required methods for region-relative time conversion 2021-08-13 12:51:29 -06:00
Paul Davis 1b06fcb335 another snapshot of ongoing work on timeline types. still not compilable 2021-08-13 12:51:29 -06:00
Paul Davis a4b71476e4 some more removals related to Temporal timeline type conversion (RoundMode now in Temporal) 2021-08-13 12:51:29 -06:00
Paul Davis b5c945e211 Temporal: another useful static method 2021-08-13 12:51:29 -06:00
Paul Davis 1ee38e7a7f another in-progress snapshot of gtk2_ardour after getting audio_clock.cc to compile 2021-08-13 12:51:29 -06:00
Paul Davis 8fb70885ec changes needed to get audio_clock.cc to work 2021-08-13 12:51:29 -06:00
Paul Davis 7433bc27e0 intermediate, unfinished snapshot of ongoing timeline types work on GTK GUI 2021-08-13 12:51:29 -06:00
Paul Davis 69ab030f55 additional Property type declaration 2021-08-13 12:51:29 -06:00
Paul Davis c9035efb25 timeline types for libs/waveview 2021-08-13 12:51:29 -06:00
Paul Davis e090834525 panners: conversion to use timeline types 2021-08-13 12:51:29 -06:00
Paul Davis 086e48796c surfaces: first round of conversion to use timeline types 2021-08-13 12:51:29 -06:00
Paul Davis cdb1972928 continuing timeline type conversions 2021-08-13 12:51:29 -06:00
Paul Davis 169bbf3b08 temporal: more API tweaks as conversions continue in libardour 2021-08-13 12:51:29 -06:00
Paul Davis 6481b555ea lua: changes to a few Lua scripts because of Readable->AudioRedable and AudioRegion as IS-A AudioReader API changes 2021-08-13 12:51:29 -06:00
Paul Davis b2a4fe1b50 likely temporary change to visibility inside PBD::int62.h 2021-08-13 12:51:29 -06:00
Paul Davis 111f10638d gcc 6.x requires <typeinfo> for typeid, it seems 2021-08-13 12:51:29 -06:00
Paul Davis ebd8704f9d libevoral: tweaks related to timeline types based on libardour conversion 2021-08-13 12:51:29 -06:00
Paul Davis eae9d276fe libardour: conversion to use timeline types (mega-commit) 2021-08-13 12:51:29 -06:00
Paul Davis bca8e2e8cc libtemporal: changes derived from converting libardour 2021-08-13 12:51:28 -06:00
Paul Davis 6b09642406 changes to compile against libtemporal and use of timepos_t/timecnt_t 2021-08-13 12:51:28 -06:00
Paul Davis e111123b54 Temporal: fix test2.cc now that operator int64_t is private 2021-08-13 12:51:28 -06:00
Paul Davis 0534d1fbb2 more improvements for int62_h based on rgareus' review 2021-08-13 12:51:28 -06:00
Paul Davis ddac0f7651 Temporal: what was that comment about not being able to disambiguate samples and superclocks? 2021-08-13 12:51:28 -06:00
Paul Davis 889edfd0a0 fixup Region object to work with new factory methods for timeline types (and remove explicit music time-related members) 2021-08-13 12:51:28 -06:00
Paul Davis f06e2dd6d1 Temporal: remove constructors accepting scalar values from timepos_t/timecnt_t and force use of factory methods
This allows us to differentiate between superclock_t and samplepos_t (and related types) which are all typedef'ed to the
same underlying primitive C++ type. Without this, it would be impossible for the compiler or someone reading the code
to know whether a scalar passed to a constructor for a timeline type is in units of samples or superclocks
2021-08-13 12:51:28 -06:00
Paul Davis c75fc64306 Temporal: various changes to int62_t and timeline types based on code review 2021-08-13 12:51:28 -06:00
Paul Davis 67de08e78d more type changes for various Region related methods, using timepos_t/timeline_t 2021-08-13 12:51:28 -06:00
Paul Davis 70d53fda91 use Temporal::TimeRange in Region 2021-08-13 12:51:28 -06:00
Paul Davis d26959b8b6 use correct argument types in MidiRegion 2021-08-13 12:51:28 -06:00
Paul Davis c192c49b65 Temporal: add std::numeric_limits<> for timecnt_t and comment on these in general 2021-08-13 12:51:28 -06:00
Paul Davis 66bcf20950 ensure that all Region methods accepting timepos_t use a const & to avoid copy-construction 2021-08-13 12:51:28 -06:00
Paul Davis c04b9c2429 Temporal: add Range class from nutempo v1
This will replace Evoral::Range which unfathomably was implemented with inclusive bounds
2021-08-13 12:51:28 -06:00
Paul Davis d40bdf5e95 first round of changes to use timeline types, here basically for Region position/length/start
UNFINISHED WORK. Does not compile. But region.cc will compile, hence this snapshot
2021-08-13 12:51:28 -06:00
Paul Davis b5bf518a0a Temporal: fixes, changes, redesigns, extensions to be able to compile ARDOUR::Region with timepos_t/timecnt_t members 2021-08-13 12:51:28 -06:00
Paul Davis b7b4c99bc9 Temporal: add new arithmetic operators allowing more inter-operability of int64_t/int62_t; make operator int64_t explicit to avoid hidden use 2021-08-13 12:51:28 -06:00
Paul Davis 788cd5456e add additional methods allowing direct arithmetic operator expressions to be used with PBD::Property 2021-08-13 12:51:28 -06:00
Paul Davis 5285151d08 Temporal: alter which tests are run by test2 2021-08-13 12:51:28 -06:00
Paul Davis 88cf07daa6 Temporal: add standalone compile instruction for test2.cc 2021-08-13 12:51:28 -06:00
Paul Davis 3beffbd3ee Temporal: add test program to evaluate performance of various ways of using int64_t atomically 2021-08-13 12:51:28 -06:00
Paul Davis 56795a97a3 changes required to get ardour to start up (missing vars, incorrect values) 2021-08-13 12:51:28 -06:00
Paul Davis f5fad809fb Temporal: add decl for thread-local tempo map pointer 2021-08-13 12:51:28 -06:00
Paul Davis d47d462182 Temporal: add debug bits declaration 2021-08-13 12:51:28 -06:00