Allow foldback sends to be pre or post fader
This commit is contained in:
parent
3e6295f538
commit
4bfb2ee6cd
@ -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;
|
||||
|
@ -4976,7 +4976,11 @@ Route::setup_invisible_processors ()
|
||||
/* Foldback Sends */
|
||||
|
||||
for (ProcessorList::iterator i = foldback_sends.begin(); i != foldback_sends.end(); ++i) {
|
||||
new_processors.insert (amp, (*i));
|
||||
if ((*i)->get_pre_fader ()) {
|
||||
new_processors.insert (amp, (*i));
|
||||
} else {
|
||||
new_processors.insert (main, (*i));
|
||||
}
|
||||
}
|
||||
|
||||
/* MONITOR SEND */
|
||||
|
Loading…
Reference in New Issue
Block a user