summaryrefslogtreecommitdiff
path: root/test/sync_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/sync_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/sync_test.cc')
-rw-r--r--test/sync_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sync_test.cc b/test/sync_test.cc
index ba235bd4..67920e2f 100644
--- a/test/sync_test.cc
+++ b/test/sync_test.cc
@@ -109,7 +109,7 @@ BOOST_AUTO_TEST_CASE (sync_test1)
}
}
- shared_ptr<dcp::SoundAssetWriter> writer = asset.start_write ("build/test/foo.mxf", true);
+ auto writer = asset.start_write("build/test/foo.mxf", {}, dcp::SoundAsset::AtmosSync::ENABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED);
/* Compare the sync bits made by SoundAssetWriter to the "proper" ones in the MXF */
BOOST_CHECK (ref == writer->create_sync_packets());
@@ -124,7 +124,7 @@ BOOST_AUTO_TEST_CASE (sync_test2)
asset._id = "e004046e09234f90a4ae4355e7e83506";
boost::system::error_code ec;
boost::filesystem::remove ("build/test/foo.mxf", ec);
- auto writer = asset.start_write ("build/test/foo.mxf", true);
+ auto writer = asset.start_write("build/test/foo.mxf", {}, dcp::SoundAsset::AtmosSync::ENABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED);
int const frames = 2000;
float** junk = new float*[channels];