From ef20ef5082586ac7c54e6e5f2d3520249f9e2139 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 18 May 2024 00:51:45 +0200 Subject: fixup! Introduce SMPTEFlavour and use it to decide which optional things to write. --- test/sync_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sync_test.cc') diff --git a/test/sync_test.cc b/test/sync_test.cc index 67920e2f..5e0f7d72 100644 --- a/test/sync_test.cc +++ b/test/sync_test.cc @@ -109,7 +109,7 @@ BOOST_AUTO_TEST_CASE (sync_test1) } } - auto writer = asset.start_write("build/test/foo.mxf", {}, dcp::SoundAsset::AtmosSync::ENABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED); + auto writer = asset.start_write("build/test/foo.mxf", {}, dcp::SoundAsset::AtmosSync::ENABLED, dcp::SMPTEFlavour::BV21); /* 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", {}, dcp::SoundAsset::AtmosSync::ENABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED); + auto writer = asset.start_write("build/test/foo.mxf", {}, dcp::SoundAsset::AtmosSync::ENABLED, dcp::SMPTEFlavour::BV21); int const frames = 2000; float** junk = new float*[channels]; -- cgit v1.2.3