mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Temporal: fix timepos_t (Beats) constructor
flag bit was set incorrectly
This commit is contained in:
parent
fa759d3507
commit
0ce40fc648
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class LIBTEMPORAL_API timepos_t : public int62_t {
|
|||
/* for now (Sept2020) do not allow implicit type conversions */
|
||||
|
||||
explicit timepos_t (samplepos_t s) : int62_t (false, samples_to_superclock (s, TEMPORAL_SAMPLE_RATE)) {}
|
||||
explicit timepos_t (Temporal::Beats const & b) : int62_t (false, b.to_ticks()) {}
|
||||
explicit timepos_t (Temporal::Beats const & b) : int62_t (true, b.to_ticks()) {}
|
||||
|
||||
explicit timepos_t (timecnt_t const &); /* will throw() if val is negative */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue