projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimize automation-event process splitting
[ardour.git]
/
libs
/
ardour
/
polarity_processor.cc
diff --git
a/libs/ardour/polarity_processor.cc
b/libs/ardour/polarity_processor.cc
index 42231d9d273ad2d4cfb8ee4093353ee8c4994f39..35d74a5795c99e2e269253faac0dea0a6700382a 100644
(file)
--- a/
libs/ardour/polarity_processor.cc
+++ b/
libs/ardour/polarity_processor.cc
@@
-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);
}