PluginInsert::silence is used after all (fix 07aeb12d3)
authorRobin Gareus <robin@gareus.org>
Mon, 17 Jul 2017 21:52:45 +0000 (23:52 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 17 Jul 2017 21:52:45 +0000 (23:52 +0200)
libs/ardour/plugin_insert.cc

index 7cb35ed6ec01f81f223fa2af16f5732917f806b8..7c9c71ccf01e47c619bc21438b8b09b31717625c 100644 (file)
@@ -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