diff --git a/libs/temporal/temporal/tempo.h b/libs/temporal/temporal/tempo.h index 1cc8c6c3ef..1d17201e1f 100644 --- a/libs/temporal/temporal/tempo.h +++ b/libs/temporal/temporal/tempo.h @@ -735,7 +735,7 @@ class /*LIBTEMPORAL_API*/ TempoMap : public PBD::StatefulDestructible * one could hold the map for, etc. * * Elsewhere in the codebase, we use RCU to solve this sort of - * issue. For example, if we need to operate an the current list of + * issue. For example, if we need to operate on the current list of * Routes, we get read-only copy of the list, and iterate over it, * knowing that even if the canonical version is being changed, the * copy we are using will not. diff --git a/libs/temporal/temporal/timeline.h b/libs/temporal/temporal/timeline.h index 880b5ee36a..5aab54a4b5 100644 --- a/libs/temporal/temporal/timeline.h +++ b/libs/temporal/temporal/timeline.h @@ -110,7 +110,7 @@ class LIBTEMPORAL_API timepos_t : public int62_t { /* don't provide operator+(samplepos_t) or operator+(superclock_t) * because the compiler can't disambiguate them and neither can we. - * to add such types, create a timepo_t and then add that. + * to add such types, create a timepos_t and then add that. */ /* operator-() poses severe and thorny problems for a class that represents position on a timeline. @@ -239,11 +239,6 @@ class LIBTEMPORAL_API timepos_t : public int62_t { explicit timepos_t (bool b, int64_t v) : int62_t (b, v) {} explicit timepos_t (int62_t const & v) : int62_t (v) {} - /* these can only be called after verifying that the time domain does - * not match the relevant one i.e. call _beats() to get a Beats value - * when this is using the audio time domain - */ - /* these three 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 @@ -306,7 +301,7 @@ class LIBTEMPORAL_API timecnt_t { timecnt_t (TimeDomain td) : _distance (td != AudioTime, 0), _position (td) {} timecnt_t (timecnt_t const &other) : _distance (other.distance()), _position (other.position()) {} - /* construct from sample count (position doesn't matter due to linear nature * of audio time */ + /* construct from sample count (position doesn't matter due to linear nature of audio time) */ explicit timecnt_t (samplepos_t s, timepos_t const & pos); explicit timecnt_t (samplepos_t s);