From: Len Ovens Date: Tue, 9 May 2017 18:52:21 +0000 (-0700) Subject: OSC: removed letter automation modes to not conflict with feedback X-Git-Tag: 5.9~55 X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=155401b8754b9bcdb9d5fa95817d65cb00af109e OSC: removed letter automation modes to not conflict with feedback --- diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index 6e08baa224..61e1828450 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -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; }