mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Prefer SessionController::ffwd() and rewind() in surfaces
I find button_varispeed() confusing, it might be a good idea to split it up entirely.
This commit is contained in:
parent
ae8f00be50
commit
01476e352e
2 changed files with 7 additions and 3 deletions
|
|
@ -313,7 +313,11 @@ FaderPort8::button_varispeed (bool ffw)
|
|||
return;
|
||||
}
|
||||
|
||||
_controller.button_varispeed (ffw);
|
||||
if (ffw) {
|
||||
_controller.ffwd ();
|
||||
} else {
|
||||
_controller.rewind ();
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef FP8_MUTESOLO_UNDO
|
||||
|
|
|
|||
|
|
@ -73,9 +73,9 @@ void JogWheel::jog_event (float delta)
|
|||
break;
|
||||
default:
|
||||
if (delta > 0) {
|
||||
_mcp.controller ().button_varispeed (true);
|
||||
_mcp.controller ().ffwd ();
|
||||
} else if (delta < 0) {
|
||||
_mcp.controller ().button_varispeed (false);
|
||||
_mcp.controller ().rewind ();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue