projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6815dc7
)
debug unconfiged plugins
author
Robin Gareus
<robin@gareus.org>
Fri, 20 May 2016 11:53:59 +0000
(13:53 +0200)
committer
Robin Gareus
<robin@gareus.org>
Fri, 20 May 2016 15:34:37 +0000
(17:34 +0200)
libs/ardour/plugin_insert.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/plugin_insert.cc
b/libs/ardour/plugin_insert.cc
index d3204381381039fdab820bf5589cb40624e22bb3..a140e33ff53b4979d1127d9f1907e57074276a14 100644
(file)
--- 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 */