mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
use new Session transport API calls in GUI
This commit is contained in:
parent
0bccc4bffd
commit
52b7e68102
9 changed files with 21 additions and 23 deletions
|
|
@ -200,7 +200,7 @@ BasicUI::ffwd ()
|
|||
void
|
||||
BasicUI::transport_stop ()
|
||||
{
|
||||
session->request_transport_speed (0.0);
|
||||
session->request_stop ();
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
@ -283,7 +283,7 @@ BasicUI::transport_play (bool from_last_start)
|
|||
}
|
||||
|
||||
if (!rolling) {
|
||||
session->request_transport_speed (1.0f, false);
|
||||
session->request_roll ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3022,7 +3022,7 @@ OSC::scrub (float delta, lo_message msg)
|
|||
session->request_transport_speed (-1);
|
||||
}
|
||||
} else {
|
||||
session->request_transport_speed (0);
|
||||
session->request_stop ();
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
@ -5896,7 +5896,6 @@ OSC::periodic (void)
|
|||
int64_t diff = now - scrub_time;
|
||||
if (diff > 120000) {
|
||||
scrub_speed = 0;
|
||||
session->request_transport_speed (0);
|
||||
// locate to the place PH was at last tick
|
||||
session->request_locate (scrub_place, MustStop);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue