From 9b6039c170008e2662cb9a7ad8701d93e6b7ca78 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 23 Jul 2024 16:56:25 +0200 Subject: [PATCH] Remove debug message, improve comment --- libs/ardour/vst_plugin.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index e5d9b65b40..9887e74680 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -191,10 +191,9 @@ VSTPlugin::set_parameter (uint32_t which, float newval, sampleoffset_t when) if (0 != rv) { _eff_bypassed = (value == 1); } else { - cerr << "effSetBypass failed rv=" << rv << endl; // XXX DEBUG -#ifdef ALLOW_VST_BYPASS_TO_FAIL // yet unused, see also vst_plugin.cc - // emit signal.. hard un/bypass from here?! -#endif + /* TODO: hard-bypass effect, emit signal, and ensure that the + * plugin is reactivated on the next call to this function.. + */ } return; }