mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
introduce the idea of a "default transport speed", used whenever Session::start_transport() is called. Only the shuttle controller alters it, and even that only alters it in wheel mode, which means that stopping the transport does not rever the default speed back to zero. To get back to zero either switch the shuttle controller back to sprung mode, or change the speed back to zero (fixes #451 ... yes, really, a 3 digit bug fixed!)
git-svn-id: svn://localhost/ardour2/branches/3.0@12819 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8c10320497
commit
c0f7f044f3
6 changed files with 27 additions and 15 deletions
|
|
@ -278,7 +278,7 @@ ShuttleControl::on_button_release_event (GdkEventButton* ev)
|
|||
|
||||
case 2:
|
||||
if (_session->transport_rolling()) {
|
||||
_session->request_transport_speed (1.0);
|
||||
_session->request_transport_speed (1.0, Config->get_shuttle_behaviour() == Wheel);
|
||||
}
|
||||
return true;
|
||||
|
||||
|
|
@ -479,7 +479,7 @@ ShuttleControl::use_shuttle_fract (bool force)
|
|||
speed = shuttle_max_speed * shuttle_fract;
|
||||
}
|
||||
|
||||
_session->request_transport_speed_nonzero (speed);
|
||||
_session->request_transport_speed_nonzero (speed, true);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue