summaryrefslogtreecommitdiff
path: root/test/encryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-03-17 13:33:08 +0100
committerCarl Hetherington <cth@carlh.net>2023-03-20 16:41:02 +0100
commit870f02f07ee51ee478006260e2c3b683e591b0c9 (patch)
tree0df3a83d06c3c627b3b16664ff45a574d630d747 /test/encryption_test.cc
parent90a4d88bf00dc4d038621227f6878c013b289a88 (diff)
Remove the bools and default parameters from SoundAsset::start_write().
They were more confusing than they were worth.
Diffstat (limited to 'test/encryption_test.cc')
-rw-r--r--test/encryption_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 2b9a6bea..29b8f1fb 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE (encryption_test)
auto ms = make_shared<dcp::SoundAsset>(dcp::Fraction (24, 1), 48000, 1, dcp::LanguageTag("en-GB"), dcp::Standard::SMPTE);
ms->set_metadata (mxf_metadata);
ms->set_key (key);
- auto sound_writer = ms->start_write ("build/test/DCP/encryption_test/audio.mxf");
+ auto sound_writer = ms->start_write("build/test/DCP/encryption_test/audio.mxf", {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED);
SF_INFO info;
info.format = 0;