diff --git a/libs/ardour/test/control_surfaces_test.cc b/libs/ardour/test/control_surfaces_test.cc index 82b9653455..440339cc97 100644 --- a/libs/ardour/test/control_surfaces_test.cc +++ b/libs/ardour/test/control_surfaces_test.cc @@ -31,7 +31,7 @@ using namespace ARDOUR; void ControlSurfacesTest::instantiateAndTeardownTest () { - _session->new_audio_track (1, 2, Normal, 0, 1, "Test"); + _session->new_audio_track (1, 2, NULL, 1, "Test", PresentationInfo::max_order, Normal); ControlProtocolManager& m = ControlProtocolManager::instance (); for (list::iterator i = m.control_protocol_info.begin(); i != m.control_protocol_info.end(); ++i) { diff --git a/libs/ardour/test/profiling/lots_of_regions.cc b/libs/ardour/test/profiling/lots_of_regions.cc index 4467822956..0e5a4c2ce6 100644 --- a/libs/ardour/test/profiling/lots_of_regions.cc +++ b/libs/ardour/test/profiling/lots_of_regions.cc @@ -29,7 +29,7 @@ main (int argc, char* argv[]) assert (playlist); /* And the region */ - boost::shared_ptr region = boost::dynamic_pointer_cast (playlist->region_list().rlist().front()); + boost::shared_ptr region = boost::dynamic_pointer_cast (playlist->region_list_property().rlist().front()); assert (region); /* Duplicate it a lot */