OSC: removed letter automation modes to not conflict with feedback
authorLen Ovens <len@ovenwerks.net>
Tue, 9 May 2017 18:52:21 +0000 (11:52 -0700)
committerLen Ovens <len@ovenwerks.net>
Tue, 9 May 2017 18:52:21 +0000 (11:52 -0700)
libs/surfaces/osc/osc.cc

index 6e08baa2245cd1fdbc7f55bd06f5cef373ceef69..61e1828450e223b877eb0903573e7f28bcd00dec 100644 (file)
@@ -2218,34 +2218,18 @@ OSC::set_automation (const char *path, size_t len, lo_arg **argv, int argc, lo_m
                                                strp->gain_control()->set_automation_state (ARDOUR::AutoState::Off);
                                                ret = 0;
                                                break;
-                                       case 'm':
-                                               strp->gain_control()->set_automation_state (ARDOUR::AutoState::Off);
-                                               ret = 0;
-                                               break;
                                        case 1:
                                                strp->gain_control()->set_automation_state (ARDOUR::AutoState::Play);
                                                ret = 0;
                                                break;
-                                       case 'p':
-                                               strp->gain_control()->set_automation_state (ARDOUR::AutoState::Play);
-                                               ret = 0;
-                                               break;
                                        case 2:
                                                strp->gain_control()->set_automation_state (ARDOUR::AutoState::Write);
                                                ret = 0;
                                                break;
-                                       case 'w':
-                                               strp->gain_control()->set_automation_state (ARDOUR::AutoState::Write);
-                                               ret = 0;
-                                               break;
                                        case 3:
                                                strp->gain_control()->set_automation_state (ARDOUR::AutoState::Touch);
                                                ret = 0;
                                                break;
-                                       case 't':
-                                               strp->gain_control()->set_automation_state (ARDOUR::AutoState::Touch);
-                                               ret = 0;
-                                               break;
                                        default:
                                                break;
                                }