13
0

fix incorrect use timepos_t::position (incorrect ordering)

This commit is contained in:
Paul Davis 2020-12-12 17:22:55 -07:00
parent df0ac42f54
commit e188fbe0ee

View File

@ -305,7 +305,7 @@ public:
Temporal::Beats absolute_time_to_source_beats(Temporal::timepos_t const &) const;
Temporal::Beats absolute_time_to_region_beats (Temporal::timepos_t const & b) const {
return b.distance (position()).beats ();
return position().distance (b).beats ();
}
int apply (Filter &, Progress* progress = 0);