summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/plugin_insert.cc6
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 */