From 385635c445490f27c2243924e2c53a3fe1dfa56e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 13 Jul 2009 01:14:49 +0000 Subject: more removal of Placement git-svn-id: svn://localhost/ardour2/branches/3.0@5345 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'libs/ardour/route.cc') diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 84b46f020c..af80fd6c89 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -720,22 +720,6 @@ Route::add_processor (boost::shared_ptr processor, ProcessorList::ite return 0; } -bool -Route::add_processor_from_xml (const XMLNode& node, Placement placement) -{ - ProcessorList::iterator loc; - - if (placement == PreFader) { - /* generic pre-fader: insert immediately before the amp */ - loc = find(_processors.begin(), _processors.end(), _amp); - } else { - /* generic post-fader: insert at end */ - loc = _processors.end(); - } - - return add_processor_from_xml (node, loc); -} - bool Route::add_processor_from_xml (const XMLNode& node, ProcessorList::iterator iter) { -- cgit v1.2.3