Do not add TriggerBox Processor to Auditioner
This commit is contained in:
parent
378ad277bd
commit
7e37ae4b17
@ -101,15 +101,17 @@ Track::init ()
|
||||
_disk_writer->set_block_size (_session.get_block_size ());
|
||||
_disk_writer->set_owner (this);
|
||||
|
||||
boost::shared_ptr<TriggerBox> 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<TriggerBox> 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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user