13
0

Allow foldback sends to be pre or post fader

This commit is contained in:
Len Ovens 2020-04-20 09:06:42 -07:00
parent 3e6295f538
commit 4bfb2ee6cd
2 changed files with 6 additions and 1 deletions

View File

@ -135,6 +135,7 @@ class LIBARDOUR_API Processor : public SessionObject, public Automatable, public
int set_state (const XMLNode&, int version);
virtual void set_pre_fader (bool);
virtual bool get_pre_fader () const { return _pre_fader; }
PBD::Signal0<void> ActiveChanged;
PBD::Signal0<void> BypassableChanged;

View File

@ -4976,7 +4976,11 @@ Route::setup_invisible_processors ()
/* Foldback Sends */
for (ProcessorList::iterator i = foldback_sends.begin(); i != foldback_sends.end(); ++i) {
if ((*i)->get_pre_fader ()) {
new_processors.insert (amp, (*i));
} else {
new_processors.insert (main, (*i));
}
}
/* MONITOR SEND */