summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-01 01:41:10 +0200
committerRobin Gareus <robin@gareus.org>2016-04-01 01:41:10 +0200
commit66e488e38d70535a6187e2e40454143106cc9f28 (patch)
treeab11c9d72db5c8952530575cb8b6af366233c6b6 /libs/ardour/route.cc
parent62a12f2e69e1f6b1d0b5fdf1575c5d6dda6bcc84 (diff)
custom config trumps strict-i/o
This allows a user to override strict-i/o per processor. The downside (currently): all downstream effects will be clamped to the customized outputs (not the actual track's inputs) This also introduces an new issue with re-config on session-load (missing code to handle this).
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 990ab14e28..6519980b68 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2413,10 +2413,6 @@ Route::reset_plugin_insert (boost::shared_ptr<Processor> proc)
bool
Route::customize_plugin_insert (boost::shared_ptr<Processor> proc, uint32_t count, ChanCount outs)
{
- if (_strict_io) {
- return false;
- }
-
boost::shared_ptr<PluginInsert> pi;
if ((pi = boost::dynamic_pointer_cast<PluginInsert>(proc)) == 0) {
return false;
@@ -2441,7 +2437,6 @@ Route::customize_plugin_insert (boost::shared_ptr<Processor> proc, uint32_t coun
Glib::Threads::RWLock::WriterLock lm (_processor_lock);
ProcessorState pstate (this);
- assert (!pi->strict_io ());
bool old_cust = pi->custom_cfg ();
uint32_t old_cnt = pi->get_count ();
ChanCount old_chan = pi->output_streams ();