mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
remove public ::bbt_at (INTEGER) methods, because of superclock_t/samplepos_t confusion
libtemporal still needs ::bbt_at (superclock_t) fairly often so retain it as a private method, but public interfaces take either Beats or timepos_t
This commit is contained in:
parent
53e411c011
commit
8bada4b5e1
11 changed files with 30 additions and 23 deletions
|
|
@ -549,7 +549,7 @@ void
|
|||
BasicUI::jump_by_bars (int bars, LocateTransportDisposition ltd)
|
||||
{
|
||||
TempoMap::SharedPtr tmap (TempoMap::use());
|
||||
Temporal::BBT_Time bbt (tmap->bbt_at (session->transport_sample()));
|
||||
Temporal::BBT_Time bbt (tmap->bbt_at (timepos_t (session->transport_sample())));
|
||||
|
||||
bars += bbt.bars;
|
||||
if (bars < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue