13
0

L: convert WTL stereo panner

This commit is contained in:
Robin Gareus 2024-06-12 17:39:43 +02:00
parent 8c9f0badbb
commit 5ec4792bf8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}