13
0

Do not add TriggerBox Processor to Auditioner

This commit is contained in:
Robin Gareus 2022-01-17 04:31:25 +01:00
parent 378ad277bd
commit 7e37ae4b17
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -101,6 +101,7 @@ Track::init ()
_disk_writer->set_block_size (_session.get_block_size ()); _disk_writer->set_block_size (_session.get_block_size ());
_disk_writer->set_owner (this); _disk_writer->set_owner (this);
if (!is_auditioner ()) {
boost::shared_ptr<TriggerBox> tb (new TriggerBox (_session, data_type ())); boost::shared_ptr<TriggerBox> tb (new TriggerBox (_session, data_type ()));
tb->set_owner (this); tb->set_owner (this);
add_processor (tb, _polarity); add_processor (tb, _polarity);
@ -111,6 +112,7 @@ Track::init ()
*/ */
tb->add_midi_sidechain (); tb->add_midi_sidechain ();
} }
}
set_align_choice_from_io (); set_align_choice_from_io ();