Fix prev commit, state-restore of plugins
This commit is contained in:
parent
031847f88e
commit
05e0cc4035
|
@ -112,7 +112,7 @@ PluginInsert::~PluginInsert ()
|
||||||
void
|
void
|
||||||
PluginInsert::set_strict_io (bool b)
|
PluginInsert::set_strict_io (bool b)
|
||||||
{
|
{
|
||||||
if (_plugins.front()->connect_all_audio_outputs ()) {
|
if (!_plugins.empty() && _plugins.front()->connect_all_audio_outputs ()) {
|
||||||
/* Ignore route setting, allow plugin to add/remove ports */
|
/* Ignore route setting, allow plugin to add/remove ports */
|
||||||
b = false;
|
b = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user