amp = find (new_processors.begin(), new_processors.end(), _amp);
}
- /* and the processor after the amp */
-
- ProcessorList::iterator after_amp = amp;
- ++after_amp;
/* Pre-fader METER */
new_processors.push_back (_main_outs);
/* iterator for the main outs */
-
ProcessorList::iterator main = new_processors.end();
--main;
if (_meter && (_meter_point == MeterOutput || _meter_point == MeterPostFader)) {
assert (!_meter->display_to_user ());
-
/* add the processor just before or just after the main outs */
-
ProcessorList::iterator meter_point = main;
-
if (_meter_point == MeterOutput) {
++meter_point;
}
/* MONITOR SEND */
if (_monitor_send && !is_monitor ()) {
+ ProcessorList::iterator after_amp = amp;
+ ++after_amp;
+
assert (!_monitor_send->display_to_user ());
switch (Config->get_listen_position ()) {
case PreFaderListen:
new_processors.insert (after_amp, _monitor_send);
break;
case AFLFromAfterProcessors:
- new_processors.insert (new_processors.end(), _monitor_send);
+ new_processors.insert (main, _monitor_send);
break;
}
_monitor_send->set_can_pan (true);
}
} else if (p == "solo-mute-override") {
// catch_up_on_solo_mute_override ();
- } else if (p == "listen-position" || p == "pfl-position") {
+ } else if (p == "listen-position" || p == "pfl-position" || p == "afl-position") {
listen_position_changed ();
} else if (p == "solo-control-is-listen-control") {
solo_control_mode_changed ();