diff options
author | Len Ovens <len@ovenwerks.net> | 2017-03-19 07:27:24 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2017-03-19 07:27:24 -0700 |
commit | 1af7e97fd08554083b7b669dc37d7899864c83ed (patch) | |
tree | 8c4b41606f4e8d88592b3e889cd661dd6057785c /libs/surfaces/control_protocol | |
parent | b0e5ab1b81d10d29d4c4812f2033495f6f8f6b91 (diff) |
basic_ui send midi_panic directly to session rather than through GUI
Diffstat (limited to 'libs/surfaces/control_protocol')
-rw-r--r-- | libs/surfaces/control_protocol/basic_ui.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/surfaces/control_protocol/basic_ui.cc b/libs/surfaces/control_protocol/basic_ui.cc index 640dba2e6b..561c4dcae2 100644 --- a/libs/surfaces/control_protocol/basic_ui.cc +++ b/libs/surfaces/control_protocol/basic_ui.cc @@ -455,11 +455,16 @@ BasicUI::toggle_monitor_mono () } } +void +BasicUI::midi_panic () +{ + session->midi_panic (); +} + void BasicUI::mark_in () { access_action("Common/start-range-from-playhead"); } void BasicUI::mark_out () { access_action("Common/finish-range-from-playhead"); } void BasicUI::toggle_click () { access_action("Transport/ToggleClick"); } -void BasicUI::midi_panic () { access_action("MIDI/panic"); } void BasicUI::toggle_roll () { access_action("Transport/ToggleRoll"); } void BasicUI::stop_forget () { access_action("Transport/ToggleRollForgetCapture"); } |