Fix polarity-control size (and crash during audition)
Also initialize new polarity-invert with gain 1.0, not inverted. Don't fade-in.
This commit is contained in:
parent
f7bca32ab1
commit
0c041dc372
|
@ -47,7 +47,8 @@ PolarityProcessor::configure_io (ChanCount in, ChanCount out)
|
|||
return false;
|
||||
}
|
||||
|
||||
_current_gain.resize (in.n_audio (), 0.f);
|
||||
_control->resize (in.n_audio ());
|
||||
_current_gain.resize (in.n_audio (), 1.f);
|
||||
|
||||
return Processor::configure_io (in, out);
|
||||
}
|
||||
|
|
|
@ -3452,7 +3452,6 @@ Route::input_change_handler (IOChange change, void * /*src*/)
|
|||
contains ConfigurationChanged
|
||||
*/
|
||||
configure_processors (0);
|
||||
_phase_control->resize (_input->n_ports().n_audio ());
|
||||
io_changed (); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user