diff options
author | Robin Gareus <robin@gareus.org> | 2017-01-18 15:16:05 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-01-18 15:16:05 +0100 |
commit | 645402bc42879364a16c0d6c230e9125bd0aeb1f (patch) | |
tree | ba7a9e632575466f2221ec5441e3d5b9dfdeeda3 /gtk2_ardour/ardour_ui.cc | |
parent | efd10abdfb54bb1dd56de0aa01278805f5fbf332 (diff) |
Add GUI action to record with preroll
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 46510112b7..d9ea44c325 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2450,6 +2450,15 @@ ARDOUR_UI::transport_play_preroll () } void +ARDOUR_UI::transport_rec_preroll () +{ + if (!_session) { + return; + } + editor->rec_with_preroll (); +} + +void ARDOUR_UI::transport_rewind (int option) { float current_transport_speed; |