From 7e37ae4b17f83ba7987ba767447d6c5a020df7ec Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Jan 2022 04:31:25 +0100 Subject: [PATCH] Do not add TriggerBox Processor to Auditioner --- libs/ardour/track.cc | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 32ac264163..157309f461 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -101,15 +101,17 @@ Track::init () _disk_writer->set_block_size (_session.get_block_size ()); _disk_writer->set_owner (this); - boost::shared_ptr tb (new TriggerBox (_session, data_type ())); - tb->set_owner (this); - add_processor (tb, _polarity); - if (data_type () == DataType::AUDIO) { - /* if placing this in a route where the default - * data type is AUDIO, the triggerbox will need - * a sidehcain MIDI input to be able to be MIDI controlled - */ - tb->add_midi_sidechain (); + if (!is_auditioner ()) { + boost::shared_ptr tb (new TriggerBox (_session, data_type ())); + tb->set_owner (this); + add_processor (tb, _polarity); + if (data_type () == DataType::AUDIO) { + /* if placing this in a route where the default + * data type is AUDIO, the triggerbox will need + * a sidehcain MIDI input to be able to be MIDI controlled + */ + tb->add_midi_sidechain (); + } } set_align_choice_from_io ();