From 0a53b13de51d2df9a3fd5271b90af25530a109ca Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Sep 2017 13:38:44 -0400 Subject: [PATCH] Disk IO "pre-fader" means pre-trim, not post-trim --- libs/ardour/route.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index b972652bb3..029fb99501 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4681,14 +4681,12 @@ Route::setup_invisible_processors () switch (_disk_io_point) { case DiskIOPreFader: if (trim != new_processors.end()) { - /* insert AFTER TRIM */ - ProcessorList::iterator insert_pos = trim; - ++insert_pos; + /* insert BEFORE TRIM */ if (_disk_writer) { - new_processors.insert (insert_pos, _disk_writer); + new_processors.insert (trim, _disk_writer); } if (_disk_reader) { - new_processors.insert (insert_pos, _disk_reader); + new_processors.insert (trim, _disk_reader); } } else { if (_disk_writer) {