diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2020-02-23 08:49:40 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2020-02-23 09:02:25 -0600 |
commit | 3e77680a57ee28571ec5558845df2ad82246741a (patch) | |
tree | 9c61e27c16296fddc998505997db424ff23ea6c6 /libs/surfaces/us2400 | |
parent | 276baee8ad4931b62613aa38f214ade45072ecf5 (diff) |
surfaces transport hotfix: surfaces should query the transport state via BasicUI, when possible
Diffstat (limited to 'libs/surfaces/us2400')
-rw-r--r-- | libs/surfaces/us2400/mcp_buttons.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/us2400/mcp_buttons.cc b/libs/surfaces/us2400/mcp_buttons.cc index 38657ef3aa..c5331bff24 100644 --- a/libs/surfaces/us2400/mcp_buttons.cc +++ b/libs/surfaces/us2400/mcp_buttons.cc @@ -497,7 +497,7 @@ US2400Protocol::play_press (Button &) again, jump back to where we started last time */ - transport_play (session->transport_speed() == 1.0); + transport_play (get_transport_speed() == 1.0); return none; } @@ -821,7 +821,7 @@ US2400Protocol::cancel_release (Button &) LedState US2400Protocol::user_a_press (Button &) { - transport_play (session->transport_speed() == 1.0); + transport_play (get_transport_speed() == 1.0); return off; } LedState |