#include "ardour/pannable.h"
#include "ardour/plugin_insert.h"
#include "ardour/rc_configuration.h"
+#include "ardour/record_enable_control.h"
#include "ardour/session.h"
#include "ardour/track.h"
#include "ardour/types.h"
void
FaderPort::left ()
{
- access_action ("Editor/select-prev-route");
+ access_action ("Editor/select-prev-stripable");
//ToDo: bank by 8?
//if ( (button_state & ShiftDown) == ShiftDown )
void
FaderPort::right ()
{
- access_action ("Editor/select-next-route");
+ access_action ("Editor/select-next-stripable");
//ToDo: bank by 8?
//if ( (button_state & ShiftDown) == ShiftDown )
return;
}
- boost::shared_ptr<ControlList> cl (new ControlList);
- cl->push_back (_current_stripable->mute_control());
- session->set_controls (cl, !_current_stripable->mute_control()->muted(), PBD::Controllable::UseGroup);
+ _current_stripable->mute_control()->set_value (!_current_stripable->mute_control()->muted(), PBD::Controllable::UseGroup);
}
void
return;
}
- _current_stripable->solo_control()->set_value (_current_stripable->solo_control()->soloed() ? 0.0 : 1.0, PBD::Controllable::UseGroup);
+ session->set_control (_current_stripable->solo_control(), !_current_stripable->solo_control()->self_soloed(), PBD::Controllable::UseGroup);
}
void