diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-25 12:30:34 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:41 -0400 |
commit | f2984260d481b7e2b641382e7d593ed701e464a3 (patch) | |
tree | c050c016aefb1b5f35fa181d92df30a4698e1201 /libs/ardour/vca.cc | |
parent | 1e9b2abe730b89ff212ef61cee9e7112bf7c8f50 (diff) |
add rec-enable and monitor controls to VCAs
Diffstat (limited to 'libs/ardour/vca.cc')
-rw-r--r-- | libs/ardour/vca.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc index 72c0a2cdcb..d1e93cc403 100644 --- a/libs/ardour/vca.cc +++ b/libs/ardour/vca.cc @@ -20,7 +20,9 @@ #include "ardour/automation_control.h" #include "ardour/gain_control.h" +#include "ardour/monitor_control.h" #include "ardour/rc_configuration.h" +#include "ardour/record_enable_control.h" #include "ardour/route.h" #include "ardour/session.h" #include "ardour/vca.h" @@ -75,6 +77,8 @@ VCA::init () { _solo_control.reset (new SoloControl (_session, X_("solo"), *this, *this)); _mute_control.reset (new MuteControl (_session, X_("mute"), *this)); + _recenable_control.reset (new RecordEnableControl (_session, X_("recenable"), *this)); + _monitor_control.reset (new MonitorControl (_session, X_("monitoring"), *this)); add_control (_gain_control); add_control (_solo_control); @@ -183,3 +187,10 @@ VCA::unassign_controls (boost::shared_ptr<VCA> vca) return 0; } + +MonitorState +VCA::monitoring_state () const +{ + /* XXX this has to get more complex but not clear how */ + return MonitoringInput; +} |