changes required to get ardour to start up (missing vars, incorrect values)

This commit is contained in:
Paul Davis 2020-08-05 18:41:44 -06:00
parent f5fad809fb
commit 56795a97a3
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class timecnt_t;
class timepos_t : public int62_t {
public:
timepos_t ();
timepos_t () : int62_t (false, 0) {}
timepos_t (superclock_t s) : int62_t (false, s) {}
explicit timepos_t (timecnt_t const &); /* will throw() if val is negative */
explicit timepos_t (Temporal::Beats const & b) : int62_t (false, b.to_ticks()) {}

View File

@ -67,7 +67,7 @@ static TemporalStatistics stats;
/* timecnt */
timecnt_t timecnt_t::_max_timecnt (max_samplepos, timepos_t());
timecnt_t timecnt_t::_max_timecnt (int62_t::max - 1, timepos_t());
timecnt_t::timecnt_t (timecnt_t const & tc, timepos_t const & pos)
: _position (pos)