From 5ec4792bf85ee56bb99cb4be50d79b8e427cf876 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 12 Jun 2024 17:39:43 +0200 Subject: [PATCH] L: convert WTL stereo panner --- libs/ardour/panner_manager.cc | 3 ++- libs/ardour/panner_shell.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/ardour/panner_manager.cc b/libs/ardour/panner_manager.cc index 17b4c50f85..1fd59a92bb 100644 --- a/libs/ardour/panner_manager.cc +++ b/libs/ardour/panner_manager.cc @@ -34,6 +34,7 @@ #include "ardour/debug.h" #include "ardour/panner_manager.h" +#include "ardour/profile.h" #include "ardour/search_paths.h" @@ -190,7 +191,7 @@ PannerManager::select_panner (ChanCount in, ChanCount out, std::string const uri PanPluginDescriptor const& d ((*p)->descriptor); /* backward compat */ - if (Stateful::loading_state_version < 6000 && d.panner_uri == "http://ardour.org/plugin/panner_2in2out") { + if (Stateful::loading_state_version < 6000 && d.panner_uri == "http://ardour.org/plugin/panner_2in2out" && !Profile->get_livetrax ()) { if (d.in == nin && d.out == nout) { priority = 9999; rv = *p; diff --git a/libs/ardour/panner_shell.cc b/libs/ardour/panner_shell.cc index 8e7d8bb10c..df9953d80a 100644 --- a/libs/ardour/panner_shell.cc +++ b/libs/ardour/panner_shell.cc @@ -127,7 +127,7 @@ PannerShell::configure_io (ChanCount in, ChanCount out) fatal << _("No panner found: check that panners are being discovered correctly during startup.") << endmsg; abort(); /*NOTREACHED*/ } - if (Stateful::loading_state_version < 6000 && pi->descriptor.in == 2) { + if (Stateful::loading_state_version < 6000 && pi->descriptor.in == 2 && !Profile->get_livetrax ()) { _user_selected_panner_uri = pi->descriptor.panner_uri; }