diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-17 13:33:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-20 16:41:02 +0100 |
| commit | 870f02f07ee51ee478006260e2c3b683e591b0c9 (patch) | |
| tree | 0df3a83d06c3c627b3b16664ff45a574d630d747 /test/test.cc | |
| parent | 90a4d88bf00dc4d038621227f6878c013b289a88 (diff) | |
Remove the bools and default parameters from SoundAsset::start_write().
They were more confusing than they were worth.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc index 1b23b177..76ed92f4 100644 --- a/test/test.cc +++ b/test/test.cc @@ -301,7 +301,7 @@ simple_sound(boost::filesystem::path path, string suffix, dcp::MXFMetadata mxf_m } ms->_language = language; ms->set_metadata (mxf_meta); - shared_ptr<dcp::SoundAssetWriter> sound_writer = ms->start_write (path / dcp::String::compose("audio%1.mxf", suffix)); + auto sound_writer = ms->start_write(path / dcp::String::compose("audio%1.mxf", suffix), {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED); int const samples_per_frame = sample_rate / 24; |
