From 74a909e2990983715a24ff69a4c853b95cd8d1d1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 15 Aug 2024 14:49:19 +0200 Subject: [PATCH] RegionFx: allow touch (for "show on touch") --- libs/ardour/region_fx_plugin.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ardour/region_fx_plugin.cc b/libs/ardour/region_fx_plugin.cc index ac469eaf6d..3314489e37 100644 --- a/libs/ardour/region_fx_plugin.cc +++ b/libs/ardour/region_fx_plugin.cc @@ -465,7 +465,6 @@ RegionFxPlugin::describe_parameter (Evoral::Parameter param) void RegionFxPlugin::start_touch (uint32_t param_id) { - assert (0); // touch is N/A std::shared_ptr ac = std::dynamic_pointer_cast (control (Evoral::Parameter (PluginAutomation, 0, param_id))); if (ac) { ac->start_touch (timepos_t (_session.audible_sample ())); // XXX subtract region position @@ -475,7 +474,6 @@ RegionFxPlugin::start_touch (uint32_t param_id) void RegionFxPlugin::end_touch (uint32_t param_id) { - assert (0); // touch is N/A std::shared_ptr ac = std::dynamic_pointer_cast (control (Evoral::Parameter (PluginAutomation, 0, param_id))); if (ac) { ac->stop_touch (timepos_t (_session.audible_sample ())); // XXX subtract region position