13
0

debug unconfiged plugins

This commit is contained in:
Robin Gareus 2016-05-20 13:53:59 +02:00
parent 6815dc7ead
commit 125e2014aa

View File

@ -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 */