mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
Add BasicUI::set_control() and set_controls()
Towards removing the direct use of Session by surfaces.
This commit is contained in:
parent
cbbc6f66ee
commit
fad1531b2d
8 changed files with 41 additions and 12 deletions
|
|
@ -847,6 +847,24 @@ BasicUI::config ()
|
|||
return _session->config;
|
||||
}
|
||||
|
||||
void
|
||||
BasicUI::set_controls (
|
||||
boost::shared_ptr<ControlList> control_list,
|
||||
const double val,
|
||||
const PBD::Controllable::GroupControlDisposition disposition)
|
||||
{
|
||||
return _session->set_controls (control_list, val, disposition);
|
||||
}
|
||||
|
||||
void
|
||||
BasicUI::set_control (
|
||||
boost::shared_ptr<AutomationControl> control,
|
||||
const double val,
|
||||
const PBD::Controllable::GroupControlDisposition disposition)
|
||||
{
|
||||
return _session->set_control (control, val, disposition);
|
||||
}
|
||||
|
||||
boost::shared_ptr<Stripable>
|
||||
BasicUI::monitor_out () const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue