Compare commits
6 Commits
baa29b8bf1
...
ca551ed07a
Author | SHA1 | Date | |
---|---|---|---|
ca551ed07a | |||
1f262d83ee | |||
857ef78417 | |||
9f98b4ab4e | |||
0b73ff4daf | |||
d931a2d83e |
@ -33,9 +33,11 @@
|
|||||||
#include "ardour/amp.h"
|
#include "ardour/amp.h"
|
||||||
#include "ardour/audio_track.h"
|
#include "ardour/audio_track.h"
|
||||||
#include "ardour/debug.h"
|
#include "ardour/debug.h"
|
||||||
|
#include "ardour/internal_send.h"
|
||||||
#include "ardour/monitor_control.h"
|
#include "ardour/monitor_control.h"
|
||||||
#include "ardour/route.h"
|
#include "ardour/route.h"
|
||||||
#include "ardour/route_group.h"
|
#include "ardour/route_group.h"
|
||||||
|
#include "ardour/profile.h"
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
#include "ardour/surround_send.h"
|
#include "ardour/surround_send.h"
|
||||||
#include "ardour/vca.h"
|
#include "ardour/vca.h"
|
||||||
@ -187,7 +189,11 @@ RouteGroup::add (std::shared_ptr<Route> r)
|
|||||||
|
|
||||||
_solo_group->add_control (r->solo_control());
|
_solo_group->add_control (r->solo_control());
|
||||||
_mute_group->add_control (r->mute_control());
|
_mute_group->add_control (r->mute_control());
|
||||||
|
if (ARDOUR::Profile->get_livetrax()) {
|
||||||
|
_gain_group->add_control (r->master_send()->gain_control());
|
||||||
|
} else {
|
||||||
_gain_group->add_control (r->gain_control());
|
_gain_group->add_control (r->gain_control());
|
||||||
|
}
|
||||||
std::shared_ptr<Track> trk = std::dynamic_pointer_cast<Track> (r);
|
std::shared_ptr<Track> trk = std::dynamic_pointer_cast<Track> (r);
|
||||||
if (trk) {
|
if (trk) {
|
||||||
_rec_enable_group->add_control (trk->rec_enable_control());
|
_rec_enable_group->add_control (trk->rec_enable_control());
|
||||||
@ -258,7 +264,11 @@ RouteGroup::remove (std::shared_ptr<Route> r)
|
|||||||
|
|
||||||
_solo_group->remove_control (r->solo_control());
|
_solo_group->remove_control (r->solo_control());
|
||||||
_mute_group->remove_control (r->mute_control());
|
_mute_group->remove_control (r->mute_control());
|
||||||
|
if (Profile->get_livetrax()) {
|
||||||
|
_gain_group->remove_control (r->master_send()->gain_control());
|
||||||
|
} else {
|
||||||
_gain_group->remove_control (r->gain_control());
|
_gain_group->remove_control (r->gain_control());
|
||||||
|
}
|
||||||
std::shared_ptr<Track> trk = std::dynamic_pointer_cast<Track> (r);
|
std::shared_ptr<Track> trk = std::dynamic_pointer_cast<Track> (r);
|
||||||
if (trk) {
|
if (trk) {
|
||||||
_rec_enable_group->remove_control (trk->rec_enable_control());
|
_rec_enable_group->remove_control (trk->rec_enable_control());
|
||||||
|
@ -108,8 +108,13 @@ Send::Send (Session& s, std::shared_ptr<Pannable> p, std::shared_ptr<MuteMaster>
|
|||||||
{
|
{
|
||||||
//boost_debug_shared_ptr_mark_interesting (this, "send");
|
//boost_debug_shared_ptr_mark_interesting (this, "send");
|
||||||
|
|
||||||
|
if (role() == MasterSend) {
|
||||||
|
std::shared_ptr<AutomationList> gl (new AutomationList (Evoral::Parameter (GainAutomation), *this));
|
||||||
|
set_gain_control (std::shared_ptr<GainControl> (new GainControl (_session, Evoral::Parameter (GainAutomation), gl)));
|
||||||
|
} else {
|
||||||
std::shared_ptr<AutomationList> gl (new AutomationList (Evoral::Parameter (BusSendLevel), *this));
|
std::shared_ptr<AutomationList> gl (new AutomationList (Evoral::Parameter (BusSendLevel), *this));
|
||||||
set_gain_control (std::shared_ptr<GainControl> (new GainControl (_session, Evoral::Parameter(BusSendLevel), gl)));
|
set_gain_control (std::shared_ptr<GainControl> (new GainControl (_session, Evoral::Parameter (BusSendLevel), gl)));
|
||||||
|
}
|
||||||
|
|
||||||
gain_control ()->set_flag (Controllable::InlineControl);
|
gain_control ()->set_flag (Controllable::InlineControl);
|
||||||
add_control (gain_control ());
|
add_control (gain_control ());
|
||||||
|
Loading…
Reference in New Issue
Block a user