mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Temporal: explain with timepos_t::_{ticks,beats} are for
This commit is contained in:
parent
5887ee524e
commit
52ddf91e5b
1 changed files with 7 additions and 0 deletions
|
|
@ -231,6 +231,13 @@ class LIBTEMPORAL_API timepos_t : public int62_t {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
superclock_t _superclocks() const;
|
superclock_t _superclocks() const;
|
||||||
|
|
||||||
|
/* these two methods are to be called ONLY when we have already that
|
||||||
|
* the time domain of this timepos_t does not match the desired return
|
||||||
|
* type, and so we will need to go to the tempo map to convert
|
||||||
|
* between domains, which could be expensive.
|
||||||
|
*/
|
||||||
|
|
||||||
int64_t _ticks() const;
|
int64_t _ticks() const;
|
||||||
Beats _beats() const;
|
Beats _beats() const;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue