mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
Fix wrongly exposed set_parameter methods on PluginInsert.
Have plugin GUI stuff twiddle plugin parameters correctly. git-svn-id: svn://localhost/ardour2/branches/3.0@3957 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2065092d25
commit
b3634a723d
5 changed files with 29 additions and 12 deletions
|
|
@ -417,3 +417,15 @@ Automatable::control_factory(const Evoral::Parameter& param)
|
|||
return boost::shared_ptr<Evoral::Control>(control);
|
||||
}
|
||||
|
||||
boost::shared_ptr<AutomationControl>
|
||||
Automatable::automation_control (const Evoral::Parameter& id, bool create)
|
||||
{
|
||||
return boost::dynamic_pointer_cast<AutomationControl>(Evoral::ControlSet::control(id, create));
|
||||
}
|
||||
|
||||
boost::shared_ptr<const AutomationControl>
|
||||
Automatable::automation_control (const Evoral::Parameter& id) const
|
||||
{
|
||||
return boost::dynamic_pointer_cast<const AutomationControl>(Evoral::ControlSet::control(id));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue