diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-20 13:53:59 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-20 17:34:37 +0200 |
commit | 125e2014aafbb0362725f780470f5654b66b53ce (patch) | |
tree | 062015c244c948f631aafe4aa1a5c6e8963bd728 /libs/ardour/plugin_insert.cc | |
parent | 6815dc7ead18c6d791833d2022b76cb9d75d0a96 (diff) |
debug unconfiged plugins
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index d320438138..a140e33ff5 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -955,6 +955,12 @@ PluginInsert::silence (framecnt_t nframes) void PluginInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool) { +#ifndef NDEBUG + if (!_configured) { + error << string_compose (_("Force bypassed unconfigured plugin: %1"), name ()) << endmsg; + deactivate (); + } +#endif if (_pending_active) { /* run as normal if we are active or moving from inactive to active */ |