mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Mark new Tracks with TB to present them
This commit is contained in:
parent
3a2566b4af
commit
3b5dbf2252
1 changed files with 2 additions and 0 deletions
|
|
@ -2461,6 +2461,7 @@ Session::new_midi_track (const ChanCount& input, const ChanCount& output, bool s
|
|||
if (with_triggers) {
|
||||
boost::shared_ptr<Processor> triggers (new TriggerBox (*this, DataType::MIDI));
|
||||
track->add_processor (triggers, track->polarity());
|
||||
track->presentation_info ().set_trigger_track (true);
|
||||
}
|
||||
|
||||
new_routes.push_back (track);
|
||||
|
|
@ -2732,6 +2733,7 @@ Session::new_audio_track (int input_channels, int output_channels, RouteGroup* r
|
|||
* a sidehcain MIDI input to be able to be MIDI controlled
|
||||
*/
|
||||
tb->add_midi_sidechain (track->name());
|
||||
track->presentation_info ().set_trigger_track (true);
|
||||
}
|
||||
|
||||
new_routes.push_back (track);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue