diff options
author | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2016-06-08 16:03:14 +0100 |
---|---|---|
committer | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2016-06-08 19:56:34 +0100 |
commit | e27df63bc5ce4d3c65ad5df318a885af8e63a418 (patch) | |
tree | dd851b2bf137dfb9d203828168bc97ad0d8eaa87 /libs/ardour/test/control_surfaces_test.cc | |
parent | 9a1c24dda74ad4b2853e1c7115a91ed06b2b3d9e (diff) |
Fix a couple of build errors in the test suite.
The parameters to Session::new_audio_track() changed in e0ff70cf, and
Playlist::region_list() was renamed to region_list_property() in
fce6ac0e. Update calls to these functions in the test suite to match.
A couple of tests still fail after these changes.
Diffstat (limited to 'libs/ardour/test/control_surfaces_test.cc')
-rw-r--r-- | libs/ardour/test/control_surfaces_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<ControlProtocolInfo*>::iterator i = m.control_protocol_info.begin(); i != m.control_protocol_info.end(); ++i) { |