summaryrefslogtreecommitdiff
path: root/libs/ardour/test
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-03-23 21:47:13 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-03-23 21:47:13 -0600
commit0f63b829439e74c9ca8e3e1b8597651ddff361c6 (patch)
tree52ff6ab429c3cc0ea746a38864ee04dbd8fac9a0 /libs/ardour/test
parent3bbad66a999dbe402209881de072720d78f01793 (diff)
fix error in multiple calls to SourceFactory::createWritable()
removal of tape tracks removed an intermediate argument in the argument list; presence of default args for the last two arguments and implicit conversion from int->bool prevented the compiler from complaining about any existing calls. This supplements/extends a54b000a70
Diffstat (limited to 'libs/ardour/test')
-rw-r--r--libs/ardour/test/audio_region_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/test/audio_region_test.cc b/libs/ardour/test/audio_region_test.cc
index 832918054b..2eee17789f 100644
--- a/libs/ardour/test/audio_region_test.cc
+++ b/libs/ardour/test/audio_region_test.cc
@@ -42,7 +42,7 @@ AudioRegionTest::setUp ()
std::string const test_wav_path = Glib::build_filename (new_test_output_dir(), "test.wav");
_playlist = PlaylistFactory::create (DataType::AUDIO, *_session, "test");
_audio_playlist = boost::dynamic_pointer_cast<AudioPlaylist> (_playlist);
- _source = SourceFactory::createWritable (DataType::AUDIO, *_session, test_wav_path, false, get_test_sample_rate ());
+ _source = SourceFactory::createWritable (DataType::AUDIO, *_session, test_wav_path, get_test_sample_rate ());
/* Write a staircase to the source */