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/decryption_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/decryption_test.cc')
| -rw-r--r-- | test/decryption_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc index c24402bf..757a6986 100644 --- a/test/decryption_test.cc +++ b/test/decryption_test.cc @@ -165,7 +165,7 @@ BOOST_AUTO_TEST_CASE (decryption_test2) auto sound_asset = std::make_shared<dcp::SoundAsset>(dcp::Fraction(24, 1), 48000, 2, dcp::LanguageTag("en-GB"), dcp::Standard::SMPTE); sound_asset->set_key (key); sound_asset->set_context_id (context_id); - auto sound_writer = sound_asset->start_write(dir / "sound.mxf"); + auto sound_writer = sound_asset->start_write(dir / "sound.mxf", {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED); std::array<float, 48000> left; std::array<float, 48000> right; for (int i = 0; i < 48000; ++i) { |
