mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 13:16:27 +01:00
don’t confuse “Fader” with “Trim” (both <Amp>s)
Fixes pre-fader send mute point.
This commit is contained in:
parent
8803cd664c
commit
f10ad8eaa5
1 changed files with 2 additions and 2 deletions
|
|
@ -4159,7 +4159,7 @@ Route::set_processor_positions ()
|
||||||
bool had_amp = false;
|
bool had_amp = false;
|
||||||
for (ProcessorList::const_iterator i = _processors.begin(); i != _processors.end(); ++i) {
|
for (ProcessorList::const_iterator i = _processors.begin(); i != _processors.end(); ++i) {
|
||||||
(*i)->set_pre_fader (!had_amp);
|
(*i)->set_pre_fader (!had_amp);
|
||||||
if (boost::dynamic_pointer_cast<Amp> (*i)) {
|
if (*i == _amp) {
|
||||||
had_amp = true;
|
had_amp = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -4354,7 +4354,7 @@ Route::setup_invisible_processors ()
|
||||||
/* find the amp */
|
/* find the amp */
|
||||||
|
|
||||||
ProcessorList::iterator amp = new_processors.begin ();
|
ProcessorList::iterator amp = new_processors.begin ();
|
||||||
while (amp != new_processors.end() && boost::dynamic_pointer_cast<Amp> (*amp) == 0) {
|
while (amp != new_processors.end() && *amp != _amp) {
|
||||||
++amp;
|
++amp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue