summaryrefslogtreecommitdiff
path: root/test/sync_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-18 00:51:45 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-18 00:51:45 +0200
commitef20ef5082586ac7c54e6e5f2d3520249f9e2139 (patch)
tree724748bb22b19675010d1c4cdf7d76ab280e9533 /test/sync_test.cc
parent4347717803d202a41792faf42e846fd73a0586bf (diff)
fixup! Introduce SMPTEFlavour and use it to decide which optional things to write.smpte-a
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 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];