mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 07:05:43 +01:00
MCP: repeated presses of play button will jump back to previous start (like GUI button)
git-svn-id: svn://localhost/ardour2/branches/3.0@11918 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4b63b88e35
commit
496a1e6965
1 changed files with 5 additions and 1 deletions
|
|
@ -472,7 +472,11 @@ MackieControlProtocol::stop_release (Button &)
|
|||
LedState
|
||||
MackieControlProtocol::play_press (Button &)
|
||||
{
|
||||
transport_play ();
|
||||
/* if we're already rolling, and we're pressed
|
||||
again, jump back to where we started last time
|
||||
*/
|
||||
|
||||
transport_play (session->transport_rolling());
|
||||
return none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue