remove default args to Session::new_midi_track() (gui edition)
This commit is contained in:
parent
04b4fc531d
commit
139a051b18
@ -1525,7 +1525,7 @@ ARDOUR_UI::session_add_midi_route (
|
||||
one_midi_channel.set (DataType::MIDI, 1);
|
||||
|
||||
list<boost::shared_ptr<MidiTrack> > tracks;
|
||||
tracks = _session->new_midi_track (one_midi_channel, one_midi_channel, strict_io, instrument, pset, route_group, how_many, name_template, order, ARDOUR::Normal);
|
||||
tracks = _session->new_midi_track (one_midi_channel, one_midi_channel, strict_io, instrument, pset, route_group, how_many, name_template, order, ARDOUR::Normal, true);
|
||||
|
||||
if (tracks.size() != how_many) {
|
||||
error << string_compose(P_("could not create %1 new mixed track", "could not create %1 new mixed tracks", how_many), how_many) << endmsg;
|
||||
|
@ -1111,7 +1111,10 @@ Editor::finish_bringing_in_material (boost::shared_ptr<Region> region,
|
||||
(RouteGroup*) 0,
|
||||
1,
|
||||
string(),
|
||||
PresentationInfo::max_order));
|
||||
PresentationInfo::max_order,
|
||||
Normal,
|
||||
true
|
||||
));
|
||||
|
||||
if (mt.empty()) {
|
||||
return -1;
|
||||
|
@ -1309,7 +1309,7 @@ Editor::drop_regions (const Glib::RefPtr<Gdk::DragContext>& /*context*/,
|
||||
Config->get_strict_io () || Profile->get_mixbus (),
|
||||
boost::shared_ptr<ARDOUR::PluginInfo>(),
|
||||
(ARDOUR::Plugin::PresetRecord*) 0,
|
||||
(ARDOUR::RouteGroup*) 0, 1, region->name(), PresentationInfo::max_order);
|
||||
(ARDOUR::RouteGroup*) 0, 1, region->name(), PresentationInfo::max_order, Normal, true);
|
||||
rtav = dynamic_cast<RouteTimeAxisView*> (time_axis_view_from_stripable (midi_tracks.front()));
|
||||
} else {
|
||||
return;
|
||||
|
@ -1675,7 +1675,7 @@ RegionMoveDrag::create_destination_time_axis (boost::shared_ptr<Region> region,
|
||||
Config->get_strict_io () || Profile->get_mixbus (),
|
||||
boost::shared_ptr<ARDOUR::PluginInfo>(),
|
||||
(ARDOUR::Plugin::PresetRecord*) 0,
|
||||
(ARDOUR::RouteGroup*) 0, 1, region->name(), PresentationInfo::max_order);
|
||||
(ARDOUR::RouteGroup*) 0, 1, region->name(), PresentationInfo::max_order, Normal, true);
|
||||
tav = _editor->time_axis_view_from_stripable (midi_tracks.front());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user