From ac37c9b7b8b7a3c1ecba65cc251ad2a9b9cfb39d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Jul 2017 23:52:45 +0200 Subject: PluginInsert::silence is used after all (fix 07aeb12d3) --- libs/ardour/plugin_insert.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libs/ardour/plugin_insert.cc') diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 7cb35ed6ec..7c9c71ccf0 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -1128,10 +1128,7 @@ PluginInsert::bypass (BufferSet& bufs, pframes_t nframes) void PluginInsert::silence (framecnt_t nframes, framepos_t start_frame) { - // XXX This method is never called, Route::silence skips PIs - // we should probably use it during bypass () - // and call automation_run() - assert (0); + automation_run (start_frame, nframes); // evaluate automation only if (!active ()) { // XXX delaybuffers need to be offset by nframes -- cgit v1.2.3