summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/route.cc8
1 files 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) {