mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 04:36:30 +01:00
fix use of timepos_t for locates after rebase with new transport API changes
This commit is contained in:
parent
f749d4f03e
commit
8cc54e5c7e
1 changed files with 2 additions and 2 deletions
|
|
@ -455,14 +455,14 @@ Session::start_transport (bool after_loop)
|
||||||
Location *location = _locations->auto_loop_location();
|
Location *location = _locations->auto_loop_location();
|
||||||
|
|
||||||
if (location != 0) {
|
if (location != 0) {
|
||||||
if (_transport_sample != location->start()) {
|
if (_transport_sample != location->start_sample()) {
|
||||||
|
|
||||||
/* force tracks to do their thing */
|
/* force tracks to do their thing */
|
||||||
set_track_loop (true);
|
set_track_loop (true);
|
||||||
|
|
||||||
/* jump to start and then roll from there */
|
/* jump to start and then roll from there */
|
||||||
|
|
||||||
request_locate (location->start(), MustRoll);
|
request_locate (location->start_sample(), MustRoll);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue