mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
RegionFx: allow touch (for "show on touch")
This commit is contained in:
parent
d9752bb2c5
commit
74a909e299
1 changed files with 0 additions and 2 deletions
|
|
@ -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<AutomationControl> ac = std::dynamic_pointer_cast<AutomationControl> (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<AutomationControl> ac = std::dynamic_pointer_cast<AutomationControl> (control (Evoral::Parameter (PluginAutomation, 0, param_id)));
|
||||
if (ac) {
|
||||
ac->stop_touch (timepos_t (_session.audible_sample ())); // XXX subtract region position
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue